Searched defs:ret (Results 126 - 150 of 2302) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libresolv2/common/resolv/
H A Dmtctxres.c69 int ret; local
84 if ((ret = pthread_setspecific(key, mt)) != 0) {
86 errno = ret;
/illumos-gate/usr/src/lib/libshare/common/
H A Dparser.c47 char *ret; local
59 ret = curp;
67 ret = curp;
72 ret = curp;
86 return (ret);
90 return (ret);
109 return (ret);
/illumos-gate/usr/src/lib/libcryptoutil/common/
H A Dkeyfile.c54 int ret = 0; local
60 ret = errno;
66 ret = errno;
95 ret = errno;
96 cryptoerror(LOG_STDERR, gettext("malloc: %s"), strerror(ret));
103 ret = errno;
106 strerror(ret));
129 ret = errno;
132 filename, strerror(ret));
149 return (ret);
[all...]
H A Dtohexstr.c69 int i, ret = 0; local
96 ret = EINVAL;
116 if (b != NULL && ret != 0) {
122 return (ret);
/illumos-gate/usr/src/lib/libsocket/inet/
H A Dbindresvport.c61 int ret; local
98 ret = bind(sd, (struct sockaddr *)bindaddr,
109 if (ret >= 0 && sin != NULL) {
126 return (ret);
/illumos-gate/usr/src/lib/libnisdb/
H A Ddb_vers.cc134 int ret, lret; local
149 if (other->vers_high > vers_high) ret = TRUE;
150 else if (other->vers_high < vers_high) ret = FALSE;
151 else if (other->vers_low > vers_low) ret = TRUE;
152 else ret = FALSE;
155 READUNLOCK(this, ret, ((lret != 0) ?
158 return (ret);
189 bool_t ret = other != NULL && local
194 READUNLOCK(this, ret, "ru vers::equal");
195 return (ret);
[all...]
/illumos-gate/usr/src/lib/libnls/common/
H A Dnlsrequest.c70 int version, ret; local
123 ret = atoi(p);
125 if (ret && _nlslog)
127 return(ret);
/illumos-gate/usr/src/lib/libnsl/nsl/
H A Dt_bind.c51 struct t_bind *ret,
174 if (ret != NULL) {
175 if (_T_IS_TLI(api_semantics) || ret->addr.maxlen > 0) {
177 ret->addr.maxlen)) {
181 (void) memcpy(ret->addr.buf,
184 ret->addr.len = bind_ackp->ADDR_length;
186 ret->qlen = bind_ackp->CONIND_number;
48 _tx_bind( int fd, const struct t_bind *req, struct t_bind *ret, int api_semantics ) argument
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dxdr_float.c81 bool_t ret; local
90 ret = XDR_GETBYTES(xdrs, (char *)dp, sizeof (double));
91 if (ret)
93 return (ret);
/illumos-gate/usr/src/lib/libnsl/yp/
H A Dyp_rsvd.c104 CLIENT *ret; local
105 ret = __yp_clnt_create_rsvdport_netid_req(hostname, prog,
107 if (ret == 0)
108 ret = __yp_clnt_create_rsvdport_netid_req(hostname,
110 return (ret);
/illumos-gate/usr/src/lib/libproject/common/
H A Dproject_walk.c44 int ret = 0; local
67 if (ret = callback(*curr_projid, init_data))
72 return (ret);
/illumos-gate/usr/src/lib/libresolv2/common/bsd/
H A Dstrerror.c64 const char *ret; local
74 ret = strerror(num); /*%< call strerror() in libc */
75 if (ret != NULL)
76 return(ret);
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dgetusershell.c35 char *ret; local
39 ret = *curshell;
40 if (ret != NULL)
42 return (ret);
/illumos-gate/usr/src/lib/libbc/libc/sys/4.2/
H A Dread.c51 int fds, ret, off; local
63 if ((ret = _read(fd, nbuf, size)) == -1) {
69 to_utmp(buf, nbuf, ret);
71 ret = getmodsize(ret, sizeof (struct utmpx),
74 return (ret);
77 if ((ret = _read(fd, buf, size)) == -1) {
81 return (ret);
H A Dreadv.c52 int fds, ret, off; local
67 if ((ret = _read(fd, nbuf, size)) == -1) {
74 to_utmp(iov[i].iov_base, nbuf, ret);
76 ret = getmodsize(ret, sizeof (struct utmpx),
78 total += ret;
86 if ((ret = _readv(fd, iov, iovcnt)) == -1) {
90 return (ret);
H A Dwrite.c53 int ret, off; local
68 ret = conv2utmpx(nbuf, buf, size);
70 if ((ret = _write(fd, nbuf, ret)) == -1) {
79 ret = getmodsize(ret, sizeof (struct utmpx),
82 return (ret);
85 if ((ret = _write(fd, buf, size)) == -1) {
89 return (ret);
H A Dwritev.c53 int ret, off; local
71 ret = conv2utmpx(nbuf, iov[i].iov_base, iov[i].iov_len);
73 if ((ret = _write(fd, nbuf, ret)) == -1) {
82 ret = getmodsize(ret, sizeof (struct utmpx),
84 total += ret;
89 if ((ret = _writev(fd, iov, iovcnt)) == -1) {
94 return (ret);
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A Dgetdents.c62 int ret, nbytes; local
80 if ((ret = _syscall(SYS_getdents, fd, nbuf, nbytes)) == -1) {
82 return(ret);
92 ((char *)ndir + sizeof(struct n_dirent) <= (nbuf + ret))) {
H A Duname.c62 int ret; local
64 if ((ret = _syscall(SYS_uname, &n_uts)) != -1) {
91 return (ret);
/illumos-gate/usr/src/lib/libbc/libc/sys/sys5/
H A Dread.c51 int ret, off; local
63 if ((ret = _read(fd, nbuf, size)) == -1) {
68 to_utmp(buf, nbuf, ret);
70 ret = getmodsize(ret, sizeof (struct utmpx),
73 return (ret);
H A Dreadv.c51 int ret, off; local
66 if ((ret = _read(fd, nbuf, size)) == -1) {
71 to_utmp(iov[i].iov_base, nbuf, ret);
73 ret = getmodsize(ret, sizeof (struct utmpx),
75 total += ret;
H A Dwrite.c49 int ret, off; local
64 ret = conv2utmpx(nbuf, buf, size);
66 if ((ret = _write(fd, nbuf, ret)) == -1) {
73 ret = getmodsize(ret, sizeof (struct utmpx),
75 return (ret);
H A Dwritev.c50 int ret, off; local
68 ret = conv2utmpx(nbuf, iov[i].iov_base, iov[i].iov_len);
70 if ((ret = _write(fd, nbuf, ret)) == -1) {
77 ret = getmodsize(ret, sizeof (struct utmpx),
79 total += ret;
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetusershell.c90 char *ret; local
94 ret = *curshell;
95 if (ret != NULL)
97 return (ret);
H A Disaexec.c62 long ret = sysinfo(SI_ISALIST, isalist, isalen); local
63 if (ret == -1l) {
68 if (ret > isalen) {
69 isalen = ret;

Completed in 89 milliseconds

1234567891011>>