Searched defs:res (Results 1 - 25 of 787) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libbc/libc/stdio/common/
H A Dctermid.c31 static char res[L_ctermid]; variable
37 return (strcpy(s != NULL ? s : res, "/dev/tty"));
H A Dcuserid.c34 static char res[L_cuserid]; variable
44 s = res;
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dlcl_p.h34 struct __res_state * res; member in struct:lcl_p
H A Dnis_p.h32 struct __res_state * res; member in struct:nis_p
H A Ddns_p.h25 #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 Dctermid.c41 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 Dkvatoname.c11 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 Dnametokva.c10 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/libldap5/sources/ldap/common/
H A Dsecutil.c16 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/lib/libnsl/yp/
H A Dyp_b_clnt.c52 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/libc/port/gen/
H A Dctime_r.c96 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/cmd/unlink/
H A Dunlink.c42 int res = 0; local
58 if (res = unlink(argv[1]))
61 return (res);
/illumos-gate/usr/src/cmd/rpcsvc/
H A Dspray_subr.c74 static char res; local
78 (void) memset((char *)&res, 0, sizeof(res));
79 return ((void *)&res);
/illumos-gate/usr/src/cmd/link/
H A Dlink.c43 int res, c; local
64 if (res = link(argv[optind], argv[optind + 1]))
67 return (res);
/illumos-gate/usr/src/lib/passwdutil/
H A D__check_history.c55 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.c45 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/libbc/libc/gen/common/
H A Dbsearch.c49 register int res = (*compar)(key, p); local
51 if (res == 0)
53 if (res < 0)
/illumos-gate/usr/src/test/libc-tests/tests/priv_gettext/
H A Dpriv_gettext.c46 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/libdwarf/common/
H A Ddwarf_string.c48 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/lib/nsswitch/files/common/
H A Dgethostent6.c52 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 Dgetnetent.c53 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 Dgetprotoent.c53 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 Dgetservent.c52 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/libbc/libc/net/
H A Dbindresvport.c40 int res; local
60 res = -1;
62 for (i = 0; i < NPORTS && res < 0 && errno == EADDRINUSE; i++) {
67 res = bind(sd, sin, sizeof(struct sockaddr_in));
69 return (res);
/illumos-gate/usr/src/lib/libbsm/common/
H A Daudit_reboot.c67 int res = 0; local
86 res = -1;
91 return (res);

Completed in 826 milliseconds

1234567891011>>