003 File Manager
Current Path:
/usr/src/contrib/ntp/sntp/libopts/compat
usr
/
src
/
contrib
/
ntp
/
sntp
/
libopts
/
compat
/
📁
..
📄
_Noreturn.h
(306 B)
📄
compat.h
(8.22 KB)
📄
pathfind.c
(7.47 KB)
📄
snprintf.c
(1.19 KB)
📄
strchr.c
(1.31 KB)
📄
strdup.c
(310 B)
📄
windows-config.h
(3.62 KB)
Editing: strdup.c
/* * Platforms without strdup ?!?!?! */ static char * strdup( char const *s ); static char * strdup( char const *s ) { char *cp; if (s == NULL) return NULL; cp = (char *) AGALOC((unsigned) (strlen(s)+1), "strdup"); if (cp != NULL) (void) strcpy(cp, s); return cp; }
Upload File
Create Folder