Searched refs:errno (Results 151 - 175 of 3821) sorted by relevance

1234567891011>>

/freebsd-9.3-release/lib/libc/posix1e/
H A Dacl_calc_mask.c35 #include <errno.h>
61 errno = EINVAL;
66 errno = EINVAL;
73 errno = EINVAL;
106 errno = ENOMEM;
119 errno = EINVAL;
/freebsd-9.3-release/lib/libc/stdio/
H A Dftell.c41 #include <errno.h>
59 errno = EOVERFLOW;
81 errno = ESPIPE;
96 errno = ESPIPE; /* historic practice */
119 errno = EIO;
132 errno = EOVERFLOW;
H A Dvswprintf.c41 #include <errno.h>
61 errno = EINVAL;
68 errno = ENOMEM;
75 sverrno = errno;
77 errno = sverrno;
91 errno = EILSEQ;
97 errno = EOVERFLOW;
H A Dmktemp.c40 #include <errno.h>
113 errno = EINVAL;
120 errno = ENAMETOOLONG;
127 errno = EINVAL;
153 errno = ENOTDIR;
166 if (errno != EEXIST)
171 if (errno != EEXIST)
174 return (errno == ENOENT);
184 errno = EIO;
/freebsd-9.3-release/usr.bin/nice/
H A Dnice.c51 #include <errno.h>
78 errno = 0;
80 if (ep == optarg || *ep != '\0' || errno ||
94 errno = 0;
96 if (errno)
101 err(errno == ENOENT ? 127 : 126, "%s", *argv);
/freebsd-9.3-release/usr.sbin/bluetooth/rfcomm_pppd/
H A Drfcomm_pppd.c37 #include <errno.h>
171 strerror(errno), errno);
178 strerror(errno), errno);
193 strerror(errno), errno);
199 strerror(errno), errno);
205 strerror(errno), errn
[all...]
/freebsd-9.3-release/tools/regression/lib/libutil/
H A Dtest-pidfile.c35 #include <errno.h>
71 return (strerror(errno));
98 return (strerror(errno));
100 serrno = errno;
136 return (strerror(errno));
143 return (strerror(errno));
148 return (strerror(errno));
158 return (strerror(errno));
161 serrno = errno;
182 serrno = errno;
[all...]
/freebsd-9.3-release/usr.sbin/bsnmpd/tools/libbsnmptools/
H A Dbsnmptc.c41 #include <errno.h>
170 syslog(LOG_ERR, "malloc failed - %s", strerror(errno));
272 syslog(LOG_ERR,"malloc failed: %s", strerror(errno));
349 saved_errno = errno;
350 errno = 0;
355 errno = saved_errno;
365 saved_errno = errno;
367 if (errno != 0)
370 errno = saved_errno;
378 saved_errno = errno;
[all...]
/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/sgs/tools/common/
H A Dsgsmsg.c78 #include <errno.h>
149 (void) fprintf(stderr, Errmsg_nmem, strerror(errno));
157 (void) fprintf(stderr, Errmsg_stnw, strerror(errno));
163 (void) fprintf(stderr, Errmsg_nmem, strerror(errno));
167 (void) fprintf(stderr, Errmsg_nmem, strerror(errno));
209 (void) fprintf(stderr, Errmsg_nmem, strerror(errno));
289 strerror(errno));
295 strerror(errno));
307 (void) fprintf(stderr, Errmsg_wrte, fldefs, strerror(errno));
392 (void) fprintf(stderr, Errmsg_wrte, fldefs, strerror(errno));
[all...]
/freebsd-9.3-release/contrib/openbsm/bin/auditdistd/
H A Dproto_common.c36 #include <errno.h>
88 return (errno);
108 return (errno);
121 if (errno == EINTR)
123 if (errno == ENOBUFS) {
142 * means the request timed out. Translate errno to
146 if (errno == EAGAIN && blocking_socket(sock))
147 errno = ETIMEDOUT;
148 return (errno);
182 return (errno);
[all...]
/freebsd-9.3-release/sbin/hastd/
H A Dproto_common.c37 #include <errno.h>
87 return (errno);
107 return (errno);
120 if (errno == EINTR)
122 if (errno == ENOBUFS) {
141 * means the request timed out. Translate errno to
145 if (errno == EAGAIN && blocking_socket(sock))
146 errno = ETIMEDOUT;
147 return (errno);
181 return (errno);
[all...]
/freebsd-9.3-release/crypto/openssl/crypto/
H A DLPdir_vms.c30 #include <errno.h>
72 errno = EINVAL;
76 errno = 0;
82 errno = ENOENT;
90 errno = EINVAL;
103 errno = ENAMETOOLONG;
109 errno = ENOMEM;
135 errno = 0;
136 vaxc$errno = status;
141 errno
[all...]
/freebsd-9.3-release/contrib/openbsm/libbsm/
H A Dbsm_wrappers.c51 #include <errno.h>
79 if (errno == ENOSYS)
81 error = errno;
83 strerror(errno));
84 errno = error;
91 error = errno;
93 strerror(errno));
94 errno = error;
103 if (error < 0 && errno == ENOSYS) {
106 error = errno;
[all...]
/freebsd-9.3-release/usr.bin/make/
H A Dproc.c31 #include <errno.h>
53 Punt("Cannot dup2: %s", strerror(errno));
62 Punt("Cannot dup2: %s", strerror(errno));
71 Punt("Cannot dup2: %s", strerror(errno));
80 Punt("Cannot dup2: %s", strerror(errno));
120 write(STDERR_FILENO, strerror(errno), strlen(strerror(errno)));
/freebsd-9.3-release/tools/regression/netinet/tcpdrop/
H A Dtcpdrop.c46 #include <errno.h>
79 error = errno;
81 errno = error;
93 error = errno;
95 errno = error;
110 } else if (errno != EPIPE) {
111 error = errno;
113 errno = error;
134 error = errno;
136 errno
[all...]
/freebsd-9.3-release/usr.sbin/bluetooth/bthidd/
H A Dbthidd.c39 #include <errno.h>
123 strerror(errno), errno);
135 strerror(errno), errno);
142 strerror(errno), errno);
150 strerror(errno), errno);
187 file, strerror(errno), errn
[all...]
/freebsd-9.3-release/lib/libc/locale/
H A Dldpart.c34 #include <errno.h>
95 errno = EFTYPE;
100 errno = ENOMEM;
112 errno = EFTYPE;
121 errno = EFTYPE;
140 saverr = errno;
142 errno = saverr;
144 saverr = errno;
146 errno = saverr;
/freebsd-9.3-release/usr.bin/getconf/
H A Dgetconf.c36 #include <errno.h>
144 savederr = errno;
145 errno = 0;
148 if (errno)
158 errno = savederr;
166 errno = 0;
168 if (value == -1 && errno != 0)
181 errno = 0;
183 if (value == -1 && errno != 0)
/freebsd-9.3-release/usr.bin/wall/
H A Dttymsg.c41 #include <errno.h>
90 if (errno == EBUSY || errno == EACCES)
93 strerror(errno));
122 if (errno == EWOULDBLOCK) {
132 "fork: %s", strerror(errno));
153 if (errno == ENODEV || errno == EIO)
159 "%s: %s", device, strerror(errno));
/freebsd-9.3-release/contrib/nvi/clib/
H A Dmkstemp.c43 #include <errno.h>
74 extern int errno;
98 errno = ENOTDIR;
111 if (errno != EEXIST)
115 return(errno == ENOENT ? 1 : 0);
/freebsd-9.3-release/contrib/sendmail/libsm/
H A Dcf.c15 #include <errno.h>
35 ** 0 on success, or an errno value on failure.
55 return errno;
92 int save_errno = errno;
95 errno = save_errno;
96 return errno;
H A Dsyslogio.c16 #include <errno.h>
71 ** -1 (error) always and sets errno
81 errno = ENODEV;
134 errno = ENODEV;
184 errno = EINVAL;
217 errno = EINVAL;
/freebsd-9.3-release/lib/libc/gen/
H A Dftw.c28 #include <errno.h>
43 errno = EINVAL;
74 errno = ELOOP;
85 sverrno = errno;
89 errno = sverrno;
/freebsd-9.3-release/lib/libc/iconv/
H A Dcitrus_mmap.c36 #include <errno.h>
61 return (errno);
63 ret = errno;
68 ret = errno;
79 ret = errno;
/freebsd-9.3-release/lib/libc/sparc64/sys/
H A D__sparc_utrap.c35 #include <errno.h>
119 berrno = errno;
121 errno = berrno;
129 berrno = errno;
131 errno = berrno;

Completed in 163 milliseconds

1234567891011>>