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

/osnet-11/usr/src/lib/libc/port/gen/
H A Dstrndup.c36 strndup(const char *s1, size_t n) function
/osnet-11/usr/src/lib/libparted/common/lib/
H A Dstrndup.c3 /* A replacement function, for systems that lack strndup.
29 strndup (char const *s, size_t n) function
/osnet-11/usr/src/grub/grub2/grub-core/gnulib/
H A Dstrndup.c1 /* A replacement function, for systems that lack strndup.
27 strndup (char const *s, size_t n) function
H A Dstring.in.h371 # undef strndup macro
372 # define strndup rpl_strndup macro
374 _GL_FUNCDECL_RPL (strndup, char *, (char const *__string, size_t __n)
376 _GL_CXXALIAS_RPL (strndup, char *, (char const *__string, size_t __n));
379 _GL_FUNCDECL_SYS (strndup, char *, (char const *__string, size_t __n)
382 _GL_CXXALIAS_SYS (strndup, char *, (char const *__string, size_t __n));
384 _GL_CXXALIASWARN (strndup); variable
386 # undef strndup macro
388 _GL_WARN_ON_USE (strndup, "strndup i
[all...]
/osnet-11/usr/src/lib/libresolv2/common/irs/
H A Dirpmarshall.c94 static char *strndup(const char *str, size_t len);
1249 host = strndup(p, q - p);
1262 user = strndup(p, q - p);
1276 domain = strndup(p, q - p);
1698 *aptr = strndup(p, q - p);
1814 *res = strndup(*ptr, q - *ptr);
1836 * static char * strndup(const char *str, size_t len)
1850 strndup(const char *str, size_t len) { function
/osnet-11/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_misc.c57 #undef strndup macro
58 #define strndup my_strndup macro
1689 rdn = strndup(policy_dn, len2 - len1 - 1); /* 1 character for ',' */
1700 *name = strndup(dn[0][0]->la_value.bv_val, dn[0][0]->la_value.bv_len);

Completed in 27 milliseconds