/illumos-gate/usr/src/lib/libbc/libc/stdio/common/ |
H A D | ctermid.c | 31 static char res[L_ctermid]; variable 37 return (strcpy(s != NULL ? s : res, "/dev/tty"));
|
H A D | cuserid.c | 34 static char res[L_cuserid]; variable 44 s = res;
|
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | lcl_p.h | 34 struct __res_state * res; member in struct:lcl_p
|
H A D | nis_p.h | 32 struct __res_state * res; member in struct:nis_p
|
H A D | dns.c | 76 dns->res = NULL; 113 if (dns->res == NULL) { 114 struct __res_state *res; local 115 res = (struct __res_state *)malloc(sizeof *res); 116 if (res == NULL) 118 memset(res, 0, sizeof *res); 119 dns_res_set(this, res, free); 122 if ((dns->res 130 dns_res_set(struct irs_acc *this, struct __res_state *res, void (*free_res)(void *)) argument [all...] |
H A D | dns_p.h | 25 #define maybe_ok(res, nm, ok) (((res)->options & RES_NOCHECKNAME) != 0U || \ 27 #define maybe_hnok(res, hn) maybe_ok((res), (hn), res_hnok) 28 #define maybe_dnok(res, dn) maybe_ok((res), (dn), res_dnok) 35 struct __res_state *res; member in struct:dns_p
|
/illumos-gate/usr/src/lib/libc/port/stdio/ |
H A D | ctermid.c | 41 static const char res[L_ctermid] = "/dev/tty"; variable 50 return ((char *)res); 51 return (strcpy(s, res));
|
/illumos-gate/usr/src/cmd/ipf/lib/common/ |
H A D | kvatoname.c | 11 ipfunc_resolve_t res; local 14 res.ipfu_addr = func; 15 res.ipfu_name[0] = '\0'; 23 (void) (*iocfunc)(fd, SIOCFUNCL, &res); 26 strncpy(funcname, res.ipfu_name, sizeof(funcname));
|
H A D | nametokva.c | 10 ipfunc_resolve_t res; local 13 strncpy(res.ipfu_name, name, sizeof(res.ipfu_name)); 14 res.ipfu_addr = NULL; 22 (void) (*iocfunc)(fd, SIOCFUNCL, &res); 25 if (res.ipfu_addr == NULL) 26 res.ipfu_addr = (ipfunc_t)-1; 27 return res.ipfu_addr;
|
/illumos-gate/usr/src/lib/passwdutil/ |
H A D | __check_history.c | 55 int res; local 66 res = PWU_NOT_FOUND; 69 while ((i <= REP_LAST) && (res == PWU_NOT_FOUND)) { 72 res = rops[i]->checkhistory(user, passwd, rep); 75 return (res);
|
H A D | __get_authtoken_attr.c | 45 int res; local 58 res = PWU_NOT_FOUND; 61 while ((i <= REP_LAST) && (res == PWU_NOT_FOUND)) { 63 res = rops[i]->getattr(name, item, rep); 66 return (res);
|
/illumos-gate/usr/src/lib/libnsl/yp/ |
H A D | yp_b_clnt.c | 52 static char res; local 54 res = 0; 56 argp, xdr_void, &res, TIMEOUT) != RPC_SUCCESS) 58 return ((void *)&res); 64 static ypbind_resp res; local 66 (void) memset(&res, 0, sizeof (res)); 69 (char *)&res, TIMEOUT) != RPC_SUCCESS) 71 return (&res); 77 static char res; local [all...] |
/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | bsearch.c | 49 register int res = (*compar)(key, p); local 51 if (res == 0) 53 if (res < 0)
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | ctime_r.c | 96 struct tm res; local 98 if (localtime_r(t, &res) == NULL) 101 if (asctime_r(&res, buffer, buflen) == NULL) 114 struct tm res; local 116 if (localtime_r(t, &res) == NULL) 119 if (__posix_asctime_r(&res, buffer) == NULL)
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | secutil.c | 16 char *res; local 19 if ((res = (char *)calloc (aLen*2 + 1, 1 )) == NULL){ 25 res[i] = hexdig[ ( *aString & 0xf0 ) >> 4 ]; 26 res[i + 1] = hexdig[ *aString & 0x0f ]; 31 return (res);
|
/illumos-gate/usr/src/cmd/unlink/ |
H A D | unlink.c | 42 int res = 0; local 58 if (res = unlink(argv[1])) 61 return (res);
|
/illumos-gate/usr/src/cmd/rpcsvc/ |
H A D | spray_subr.c | 74 static char res; local 78 (void) memset((char *)&res, 0, sizeof(res)); 79 return ((void *)&res);
|
/illumos-gate/usr/src/cmd/link/ |
H A D | link.c | 43 int res, c; local 64 if (res = link(argv[optind], argv[optind + 1])) 67 return (res);
|
/illumos-gate/usr/src/tools/ctf/dwarf/common/ |
H A D | dwarf_string.c | 48 int res = DW_DLV_ERROR; local 70 res = _dwarf_load_section(dbg, &dbg->de_debug_str,error); 71 if (res != DW_DLV_OK) { 72 return res;
|
/illumos-gate/usr/src/test/libc-tests/tests/priv_gettext/ |
H A D | priv_gettext.c | 46 char *res = priv_gettext("dtrace_kernel"); local 47 assert(res != NULL); 48 assert(strcmp(res, exp) == 0); 49 free(res);
|
/illumos-gate/usr/src/lib/nsswitch/files/common/ |
H A D | gethostent6.c | 52 nss_status_t res; local 54 res = __nss_files_XY_hostbyname(be, argp, argp->key.ipnode.name, 56 if (res != NSS_SUCCESS) 57 argp->h_errno = __nss_files_2herrno(res); 58 return (res); 73 nss_status_t res; local 76 res = _nss_files_XY_all(be, argp, 1, 0, check_addr); 77 if (res != NSS_SUCCESS) 78 argp->h_errno = __nss_files_2herrno(res); 79 return (res); [all...] |
/illumos-gate/usr/src/lib/libsocket/inet/ |
H A D | getnetent.c | 53 struct netent *res = 0; local 56 res = getnetbyname_r(nam, b->result, b->buffer, b->buflen); 58 return (res); 65 struct netent *res = 0; local 68 res = getnetbyaddr_r(net, type, b->result, 71 return (res); 78 struct netent *res = 0; local 81 res = getnetent_r(b->result, b->buffer, b->buflen); 83 return (res);
|
H A D | getprotoent.c | 53 struct protoent *res = 0; local 56 res = getprotobyname_r(nam, b->result, b->buffer, b->buflen); 58 return (res); 65 struct protoent *res = 0; local 68 res = getprotobynumber_r(proto, b->result, 71 return (res); 78 struct protoent *res = 0; local 81 res = getprotoent_r(b->result, b->buffer, b->buflen); 83 return (res);
|
H A D | getservent.c | 52 struct servent *res = 0; local 55 res = getservbyname_r(nam, proto, 58 return (res); 65 struct servent *res = 0; local 68 res = getservbyport_r(port, proto, 71 return (res); 78 struct servent *res = 0; local 81 res = getservent_r(b->result, b->buffer, b->buflen); 83 return (res);
|
/illumos-gate/usr/src/lib/libresolv2/common/bsd/ |
H A D | gettimeofday.c | 20 int res; local 22 res = gettimeofday(tp, tzp); 23 if (res < 0) 24 return (res); 26 return (res); 40 return (res); 43 return (res);
|