Searched defs:dup (Results 1 - 1 of 1) sorted by relevance

/systemd/src/test/
H A Dtest-util.c727 int *dup; local
729 dup = (int*)memdup_multiply(org, sizeof(int), 3);
731 assert_se(dup);
732 assert_se(dup[0] == 1);
733 assert_se(dup[1] == 2);
734 assert_se(dup[2] == 3);
735 free(dup);
1446 assert_se((a = dup(p[0])) >= 0);
1448 assert_se((c = dup(a)) >= 0);

Completed in 544 milliseconds