Searched defs:arg (Results 1 - 25 of 440) sorted by relevance

1234567891011>>

/osnet-11/usr/src/lib/libc/port/gen/
H A Dllabs.c37 llabs(longlong_t arg) argument
39 return (arg >= 0 ? arg : -arg);
H A Dimaxabs.c38 imaxabs(intmax_t arg) argument
40 return ((intmax_t)llabs((long long)arg));
54 _imaxabs_c89(int32_t arg) argument
56 return (abs(arg));
H A Dswapctl.c38 swapctl(int cmd, void *arg) argument
40 return (uadmin(A_SWAPCTL, cmd, (uintptr_t)arg));
H A Dgetspent.c46 free_spbuf(void *arg) argument
48 nss_XbyY_buf_t **buffer = arg;
/osnet-11/usr/src/lib/libc/port/sys/
H A D_autofssys.c36 _autofssys(enum autofssys_op op, void *arg) argument
38 return (syscall(SYS_autofssys, op, arg, NULL, NULL, NULL, NULL));
H A Dsharefs.c33 sharefs(sharefs_proto_t proto, sharefs_op_t opcode, void *arg, size_t arglen) argument
35 return (syscall(SYS_sharefs, proto, opcode, arg, arglen));
H A Dfcntl.c62 s_ioctl(int fd, int cmd, intptr_t arg) argument
64 return (ioctl(fd, cmd, arg));
73 intptr_t arg; local
77 arg = va_arg(ap, intptr_t);
82 pid = (int)arg;
91 return (syscall(SYS_fcntl, fd, cmd, arg));
/osnet-11/usr/src/lib/libntsvcs/common/
H A Dmsgsvc_svc.c68 msgsvcsend_NetrSendMessage(void *arg, ndr_xa_t *mxa) argument
70 msgsvcsend_NetrSendMessage_t *param = arg;
H A Dwkssvc_clnt.c33 struct mslm_NetWkstaGetInfo arg; local
49 bzero(&arg, sizeof (struct mslm_NetWkstaGetInfo));
50 arg.level = 100;
52 rc = ndr_rpc_call(&handle, opnum, &arg);
55 info100 = (struct mslm_WKSTA_INFO_100 *)arg.result.bufptr.nullptr;
57 if (rc != 0 || arg.status != 0 || info100 == NULL) {
/osnet-11/usr/src/lib/libshell/common/bltins/
H A Dcflow.c48 register char *arg; local
56 errormsg(SH_DICT,2, "%s", opt_info.arg);
59 errormsg(SH_DICT,ERROR_usage(0), "%s", opt_info.arg);
67 n = (((arg= *argv)?(int)strtol(arg, (char**)0, 10)&SH_EXITMASK:shp->oldexit));
85 char *arg; local
91 errormsg(SH_DICT,2, "%s", opt_info.arg);
94 errormsg(SH_DICT,ERROR_usage(0), "%s", opt_info.arg);
101 if(arg= *argv)
103 n = strtol(arg,
[all...]
/osnet-11/usr/src/lib/libpkg/common/
H A Dpkgexecl.c54 char *arg[MAXARGS+1]; local
59 /* construct arg[] array from varargs passed in */
68 arg[0] ? arg[0] : "??");
71 arg[n++] = pt;
74 arg[n] = NULL;
77 /* return results of executing command based on arg[] list */
79 return (pkgexecv(filein, fileout, uname, gname, arg));
/osnet-11/usr/src/lib/libcmd/common/
H A Dmkfifo.c55 register char* arg; local
67 mode = strperm(arg = opt_info.arg, &opt_info.arg, mode);
68 if (*opt_info.arg)
69 error(ERROR_exit(0), "%s: invalid mode", arg);
72 error(2, "%s", opt_info.arg);
75 error(ERROR_usage(2), "%s", opt_info.arg);
90 while (arg = *argv++)
91 if (mkfifo(arg, mod
[all...]
H A Dpids.c59 key(void* handle, Sffmt_t* fp, const char* arg, char** ps, Sflong_t* pn) argument
101 format = opt_info.arg;
104 error(ERROR_USAGE|4, "%s", opt_info.arg);
107 error(2, "%s", opt_info.arg);
/osnet-11/usr/src/lib/libeti/form/common/
H A Dty_regexp.c79 copy_rexp(char *arg) argument
83 if (arrayAlloc(rexp, (strlen(arg) + 1), char))
84 (void) strcpy(rexp, arg);
89 free_rexp(char *arg) argument
91 Free(arg);
95 fcheck_rexp(FIELD *f, char *arg) argument
97 return (libform_regex(arg, field_buffer(f, 0), NULL) ? TRUE : FALSE);
H A Dty_alnum.c81 copy_alnum(char *arg) argument
86 *width = *((int *) arg);
91 free_alnum(char *arg) argument
93 Free(arg);
97 fcheck_alnum(FIELD *f, char *arg) argument
99 int width = *((int *) arg);
118 ccheck_alnum(int c, char *arg) argument
/osnet-11/usr/src/lib/libidmap/common/
H A Ddirectory_rpc_clnt.c49 directory_get_common_1_argument arg; local
50 arg.ids = ids;
51 arg.attrs = attrs;
52 arg.types = types;
54 (xdrproc_t)xdr_directory_get_common_1_argument, (caddr_t)&arg,
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dcleanup.h7 void * arg; member in struct:cleanup
16 cleanup_data[cleanup_count].arg = x; \
22 cleanup_data[cleanup_count].func(cleanup_data[cleanup_count].arg);
27 cleanup_data[cleanup_count].func(cleanup_data[cleanup_count].arg);
/osnet-11/usr/src/cmd/hal/tools/sunos/
H A Dhal-system-lcd-set-brightness-sunos.c33 char arg[10]; local
55 if (fgets(arg, sizeof (arg), stdin)) {
56 level = atoi(arg);
/osnet-11/usr/src/lib/libumem/common/
H A Dumem_update_thread.c36 umem_update_thread(void *arg) argument
/osnet-11/usr/src/lib/libproc/common/
H A Dpr_memcntl.c42 caddr_t addr, size_t len, int cmd, caddr_t arg, int attr, int mask)
45 argdes_t argd[6]; /* arg descriptors for memcntl() */
50 return (memcntl(addr, len, cmd, arg, attr, mask));
73 adp++; /* arg argument */
76 adp->arg_object = arg;
88 adp->arg_value = (uintptr_t)arg;
41 pr_memcntl(struct ps_prochandle *Pr, caddr_t addr, size_t len, int cmd, caddr_t arg, int attr, int mask) argument
/osnet-11/usr/src/lib/libsip/common/
H A Dsip_hash.c110 * Walk the hash table and invoke func on each object. 'arg' is passed
114 sip_walk_hash(sip_hash_t *sip_hash, void (*func)(void *, void *), void *arg) argument
127 func(tmp->sip_obj, arg);
/osnet-11/usr/src/lib/libsocket/inet/
H A Dbootparams_getbyname.c52 nss_XbyY_args_t arg; local
55 NSS_XbyY_INIT(&arg, linebuf, linebuf, linelen, str2bootent);
56 arg.key.name = name;
58 NSS_DBOP_BOOTPARAMS_BYNAME, &arg);
59 (void) NSS_XbyY_FINI(&arg);
60 return (arg.status = res);
H A Dgetservent_r.c82 nss_XbyY_args_t arg; local
85 NSS_XbyY_INIT(&arg, result, buffer, buflen, str2servent);
95 arg.key.serv.proto = NULL;
97 res = nss_getent(&db_root, _nss_initf_services, &context, &arg);
98 arg.status = res;
99 return (struct servent *)NSS_XbyY_FINI(&arg);
/osnet-11/usr/src/lib/libnisdb/yptol/
H A Dupdate.c342 update_thread(void *arg) argument
348 map = (map_ctrl *)arg;
/osnet-11/usr/src/lib/libdtrace/common/
H A Ddt_pcb.c93 dt_pcb_pop_ident(dt_idhash_t *dhp, dt_ident_t *idp, void *arg) argument
95 dtrace_hdl_t *dtp = arg;

Completed in 81 milliseconds

1234567891011>>