Home
last modified time | relevance | path

Searched refs:errp (Results 1 – 16 of 16) sorted by relevance

/openbsd-src/usr.bin/less/
H A Doption.c595 num_error(char *printopt, int *errp) in num_error() argument
599 if (errp != NULL) { in num_error()
600 *errp = TRUE; in num_error()
616 getnum(char **sp, char *printopt, int *errp) in getnum() argument
629 return (num_error(printopt, errp)); in getnum()
635 if (errp != NULL) in getnum()
636 *errp = FALSE; in getnum()
649 getfraction(char **sp, char *printopt, int *errp) in getfraction() argument
657 return (num_error(printopt, errp)); in getfraction()
670 if (errp != NULL) in getfraction()
[all …]
/openbsd-src/usr.sbin/snmpd/
H A Dusm.c161 usm_newuser(char *name, const char **errp) in usm_newuser() argument
165 *errp = "user redefined"; in usm_newuser()
209 usm_checkuser(struct usmuser *up, const char **errp) in usm_checkuser() argument
212 *errp = "missing auth passphrase"; in usm_checkuser()
218 *errp = "missing priv passphrase"; in usm_checkuser()
225 *errp = "auth is mandatory with enc"; in usm_checkuser()
263 usm_decode(struct snmp_message *msg, struct ber_element *elm, const char **errp) in usm_decode() argument
282 *errp = "cannot decode security params"; in usm_decode()
290 *errp = "cannot decode security params"; in usm_decode()
303 *errp = "cannot decode USM params"; in usm_decode()
[all …]
H A Dsnmpd.c142 const char *errp, *title = NULL; in main() local
171 PROC_MAX_INSTANCES, &errp); in main()
172 if (errp) in main()
/openbsd-src/usr.bin/top/
H A Dcommands.c163 struct errs *errp; in err_string() local
178 errp = &(errs[cnt++]); in err_string()
179 if (errp->err != currerr) { in err_string()
188 currerr = errp->err; in err_string()
191 if (str_addarg(string, sizeof string, errp->arg, first) >= in err_string()
H A Ddisplay.c838 struct errs *errp = errs; in show_errors() local
847 printwp("%5s: %s\n", errp->arg, in show_errors()
848 errp->err == 0 ? "Not a number" : strerror(errp->err)); in show_errors()
849 errp++; in show_errors()
/openbsd-src/include/rpc/
H A Dclnt.h182 #define CLNT_GETERR(rh,errp) ((*(rh)->cl_ops->cl_geterr)(rh, errp)) argument
183 #define clnt_geterr(rh,errp) ((*(rh)->cl_ops->cl_geterr)(rh, errp)) argument
/openbsd-src/usr.bin/vi/ex/
H A Dex.c1616 ex_range(SCR *sp, EXCMD *ecp, int *errp) in ex_range() argument
1622 *errp = 0; in ex_range()
1655 *errp = 1; in ex_range()
1670 *errp = 1; in ex_range()
1690 *errp = 1; in ex_range()
1732 if (ex_line(sp, ecp, &m, &isaddr, errp)) in ex_range()
1734 if (*errp) in ex_range()
1740 *errp = 1; in ex_range()
1789 *errp = 1; in ex_range()
1811 ex_line(SCR *sp, EXCMD *ecp, MARK *mp, int *isaddrp, int *errp) in ex_line() argument
[all …]
/openbsd-src/usr.sbin/vmd/
H A Dvmd.c663 const char *errp, *title = NULL; in main()
702 PROC_MAX_INSTANCES, &errp); in main()
703 if (errp) in main()
712 vm_fd = strtonum(optarg, 0, 128, &errp); in main()
713 if (errp) in main()
718 vm_fd = strtonum(optarg, 0, 128, &errp); in main()
719 if (errp) in main()
732 vmm_fd = strtonum(optarg, 0, 128, &errp); in main()
733 if (errp) in main()
738 psp_fd = strtonum(optarg, -1, 128, &errp); in main()
665 const char *errp, *title = NULL; main() local
[all...]
/openbsd-src/usr.sbin/dhcrelay6/
H A Ddhcrelay6.c175 const char *errp; in main() local
190 enterpriseno = strtonum(optarg, 1, UINT32_MAX, &errp); in main()
191 if (errp != NULL) in main()
192 fatalx("invalid enterprise number: %s", errp); in main()
/openbsd-src/lib/libc/rpc/
H A Dclnt_tcp.c318 clnttcp_geterr(CLIENT *h, struct rpc_err *errp) in clnttcp_geterr() argument
323 *errp = ct->ct_error; in clnttcp_geterr()
H A Dclnt_udp.c362 clntudp_geterr(CLIENT *cl, struct rpc_err *errp) in clntudp_geterr() argument
366 *errp = cu->cu_error; in clntudp_geterr()
/openbsd-src/usr.sbin/httpd/
H A Dhttpd.c126 const char *errp, *title = NULL; in main() local
158 PROC_MAX_INSTANCES, &errp); in main()
159 if (errp) in main()
/openbsd-src/sys/nfs/
H A Dnfs_subs.c1353 const short *defaulterrp, *errp; in nfsm_srvwcc()
1357 errp = defaulterrp = nfsrv_v3errmap[nd->nd_procnum];
1358 while (*++errp) { in nfsm_srvpostop_attr()
1359 if (*errp == err) in nfsm_srvpostop_attr()
1361 else if (*errp > err) in nfsm_srvpostop_attr()
1681 const short *defaulterrp, *errp; nfsrv_errmap() local
/openbsd-src/gnu/usr.bin/binutils/gdb/
H A Dvalue.h503 struct value **valuep, int *errp);
/openbsd-src/usr.sbin/relayd/
H A Drelayd.c129 const char *errp, *title = NULL; in main() local
161 PROC_MAX_INSTANCES, &errp); in main()
162 if (errp) in main()
/openbsd-src/sys/dev/pci/
H A Dif_aq_pci.c623 #define WAIT_FOR(expr, us, n, errp) \ argument
629 if ((errp != NULL)) { \
631 *(errp) = ETIMEDOUT; \
633 *(errp) = 0; \