/src/usr.bin/renice/ |
renice.c | 68 id_t who = 0; local in function:main 103 who = (id_t)pwd->pw_uid; 115 who = (id_t)twho; 117 errs += donice(which, who, prio, incr); 145 donice(int which, id_t who, int prio, int incr) 150 if ((oldprio = getpriority(which, who)) == -1 && errno != 0) { 151 warn("%d: getpriority", who); 163 if (setpriority(which, who, prio) == -1) { 164 warn("%d: setpriority", who); 168 who, oldprio, prio) [all...] |
/src/games/larn/ |
movem.c | 89 if (c[AGGRAVATE] || !c[STEALTH]) { /* who gets moved? split for 280 const char *who = NULL; local in function:mmove 343 who = "An arrow"; 351 who = "A dart"; 370 lprintf("\n%s hits the %s", who, monster[tmp].name); 375 who, monster[tmp].name); 400 * shafts, potions, etc, except for upper level demons, who can dispel
|
scores.c | 20 * Subroutine to put player into a died(x) Subroutine to record who 49 char who[40];/* the name of the character */ member in struct:scofmt 62 char who[40];/* the name of the character */ member in struct:wscofmt 82 char who[12];/* player name */ member in struct:log_fmt 281 (long) p->score, (long) p->hardlev, (long) p->timeused, p->who); 317 (long) sco[j].score, (long) sco[j].hardlev, sco[j].who); 513 strcpy(p->who, whoo); 537 strcpy(p->who, whoo); 551 * died(x) Subroutine to record who played larn, and what the score was 673 strcpy(logg.who, loginname) [all...] |
/src/usr.bin/id/ |
id.c | 60 static struct passwd *who(char *); 132 pw = *argv ? who(*argv) : NULL; 334 who(char *u) function in typeref:struct:passwd *
|
/src/lib/libc/gen/ |
setmode.c | 186 mode_t mask, perm, permXbits, who; local in function:setmode 245 for (who = 0;; ++p) { 248 who |= STANDARD_BITS; 251 who |= S_ISUID|S_IRWXU; 254 who |= S_ISGID|S_IRWXG; 257 who |= S_IRWXO; 271 who &= ~S_ISTXT; 282 if (who == 0 || (who & ~S_IRWXO)) 290 if (who == 0 || (who & ~S_IRWXO)) [all...] |
/src/usr.sbin/lpr/pac/ |
pac.c | 210 char who[BUFSIZ]; local in function:account 218 /* XXX sizeof(who) == 1024 */ 219 if (sscanf(linebuf, "%f %d%1023s", &t, &ic, who) == 0) { 220 sscanf(linebuf, "%f %1023s", &t, who); 225 if (mflag && (cp2 = strchr(who, ':'))) 228 cp = who;
|
/src/usr.sbin/rpc.pcnfsd/ |
pcnfsd_misc.c | 296 struct sockaddr_in *who; local in function:wlogin 304 who = &req->rq_xprt->xp_raddr; 307 hp = gethostbyaddr((char *) &who->sin_addr, 309 who->sin_family); 314 host = inet_ntoa(who->sin_addr);
|
/src/sys/dev/ic/ |
mpt_debug.c | 288 const char *who; local in function:mpt_who 291 case MPT_DB_INIT_NOONE: who = "No One"; break; 292 case MPT_DB_INIT_BIOS: who = "BIOS"; break; 293 case MPT_DB_INIT_ROMBIOS: who = "ROM BIOS"; break; 294 case MPT_DB_INIT_PCIPEER: who = "PCI Peer"; break; 295 case MPT_DB_INIT_HOST: who = "Host Driver"; break; 296 case MPT_DB_INIT_MANUFACTURE: who = "Manufacturing"; break; 297 default: who = "Unknown"; break; 299 return who;
|
/src/lib/libc/net/ |
sctp_sys_calls.c | 384 struct sockaddr *who=NULL; local in function:sctp_sendmsg 418 who = (struct sockaddr *)(void *)&addr; 426 msg.msg_name = (caddr_t)who; 427 msg.msg_namelen = who->sa_len;
|
/src/sys/compat/linux/arch/alpha/ |
linux_osf1.c | 438 int error, who; local in function:linux_sys_osf1_getrusage 444 switch (SCARG(uap, who)) { 446 who = RUSAGE_SELF; 450 who = RUSAGE_CHILDREN; 458 error = getrusage1(p, who, &ru);
|
/src/lib/librumpuser/ |
rumpfiber.c | 590 struct thread *who; member in struct:waiter 600 w.who = get_current(); 603 block(w.who); 605 w.who->wakeup_time = now() + msec; 623 wake(w->who); 635 wake(w->who);
|
/src/sys/kern/ |
kern_resource.c | 157 syscallarg(id_t) who; 160 id_t who = SCARG(uap, who); local in function:sys_getpriority 166 p = who ? proc_find(who) : curp; 174 if (who == 0) 176 else if ((pg = pgrp_find(who)) == NULL) 186 if (who == 0) 187 who = (int)kauth_cred_geteuid(l->l_cred); 191 (uid_t)who && p->p_nice < low 220 id_t who = SCARG(uap, who); local in function:sys_setpriority [all...] |
/src/usr.bin/mail/ |
lex.c | 211 const char *who = name[1] ? name + 1 : myname; local in function:setfile 301 (void)fprintf(stderr, "No mail for %s\n", who);
|
/src/sys/netinet/ |
dccp_var.h | 70 u_int8_t who; /* undef, server, client, listener */ member in struct:dccpcb
|