HelenOS sources
dup 532 uspace/lib/c/generic/string.c char *dup;
dup 535 uspace/lib/c/generic/string.c dup = malloc(sz + 1);
dup 536 uspace/lib/c/generic/string.c if (dup == NULL) {
dup 541 uspace/lib/c/generic/string.c strcpy(dup, s);
dup 542 uspace/lib/c/generic/string.c return dup;
dup 558 uspace/lib/c/generic/string.c char *dup;
dup 561 uspace/lib/c/generic/string.c dup = malloc(sz + 1);
dup 562 uspace/lib/c/generic/string.c if (dup == NULL) {
dup 567 uspace/lib/c/generic/string.c strncpy(dup, s, sz);
dup 568 uspace/lib/c/generic/string.c return dup;
dup 97 uspace/lib/posix/include/posix/unistd.h extern int dup(int fildes);
dup 72 uspace/srv/net/tcp/test/segment.c tcp_segment_t *seg, *dup;
dup 82 uspace/srv/net/tcp/test/segment.c dup = tcp_segment_dup(seg);
dup 83 uspace/srv/net/tcp/test/segment.c test_seg_same(seg, dup);
dup 86 uspace/srv/net/tcp/test/segment.c tcp_segment_delete(dup);
dup 92 uspace/srv/net/tcp/test/segment.c tcp_segment_t *seg, *dup;
dup 111 uspace/srv/net/tcp/test/segment.c dup = tcp_segment_dup(seg);
dup 112 uspace/srv/net/tcp/test/segment.c test_seg_same(seg, dup);
dup 115 uspace/srv/net/tcp/test/segment.c tcp_segment_delete(dup);
HelenOS homepage, sources at GitHub