/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | getrusage.c | 40 * fully support BSD's rusage semantics. 58 int __rusagesys(int, struct rusage *); 61 getrusage(int who, struct rusage *rusage) argument 66 return (__rusagesys(_RUSAGESYS_GETRUSAGE, rusage)); 69 return (__rusagesys(_RUSAGESYS_GETRUSAGE_LWP, rusage)); 72 return (__rusagesys(_RUSAGESYS_GETRUSAGE_CHLD, rusage));
|
H A D | waitpid.c | 117 wait4(pid_t pid, int *stat_loc, int options, struct rusage *rp) 127 (void) memset(rp, 0, sizeof (struct rusage)); 188 wait3(int *stat_loc, int options, struct rusage *rp)
|
/illumos-gate/usr/src/ucbhead/sys/ |
H A D | rusage.h | 45 struct rusage { struct
|
H A D | resource.h | 46 #include <sys/rusage.h>
|
H A D | wait.h | 155 extern pid_t wait4(pid_t, int *, int, struct rusage *); 156 extern pid_t wait3(int *, int, struct rusage *);
|
/illumos-gate/usr/src/ucblib/libucb/port/sys/ |
H A D | wait3.c | 54 wait3(int *status, int options, struct rusage *rp)
|
H A D | wait4.c | 55 * Since sysV does not support rusage as in BSD, an approximate approach 62 * rusage ~= diff in the 2 times call 72 wait4(pid_t pid, int *status, int options, struct rusage *rp) 87 (void) memset(rp, 0, sizeof (struct rusage));
|
/illumos-gate/usr/src/lib/libbc/libc/compat/4.1/ |
H A D | vtimes.c | 49 static void getvtimes(struct rusage *, struct vtimes *); 55 struct rusage ru; 71 getvtimes(struct rusage *aru, struct vtimes *avt)
|
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.time.c | 20 void ruadd(struct rusage *ru, struct rusage *ru2); 21 void prusage(struct rusage *r0, struct rusage *r1, struct timeval *e, 34 struct rusage ruch; 53 struct rusage ru1, ruch; 88 ruadd(struct rusage *ru, struct rusage *ru2) 93 * The SunOS 4.x <sys/rusage.h> has ru_first and ru_last #defines 96 * struct rusage [all...] |
H A D | sh.proc.h | 41 struct rusage p_rusage;
|
H A D | wait.h | 100 extern pid_t csh_wait3(union wait *w, int options, struct rusage *rp);
|
H A D | wait3.c | 33 * Since sysV does not support rusage as in BSD, an approximate approach 40 * rusage ~= diff in the 2 times call 61 csh_wait3(int *status, int options, struct rusage *rp) 69 memset((void *)rp, 0, sizeof (struct rusage));
|
/illumos-gate/usr/src/lib/libbc/inc/include/sys/ |
H A D | resource.h | 49 struct rusage { struct
|
/illumos-gate/usr/src/ucbcmd/rusage/ |
H A D | Makefile | 26 PROG= rusage
|
/illumos-gate/usr/src/lib/libast/common/misc/ |
H A D | debug.c | 47 struct rusage ru;
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | wait.h | 105 extern pid_t wait3(int *, int, struct rusage *); 110 extern pid_t wait4(pid_t, int *, int, struct rusage *);
|
H A D | resource.h | 171 struct rusage { struct 190 #define _RUSAGESYS_GETRUSAGE 0 /* rusage process */ 191 #define _RUSAGESYS_GETRUSAGE_CHLD 1 /* rusage child process */ 192 #define _RUSAGESYS_GETRUSAGE_LWP 2 /* rusage lwp */ 273 extern int getrusage(int, struct rusage *);
|
/illumos-gate/usr/src/lib/libast/common/comp/ |
H A D | waitpid.c | 41 struct rusage; 43 extern int wait4(int, int*, int, struct rusage*); 57 extern int wait3(int*, int, struct rusage*);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/ |
H A D | pppoed.c | 189 struct rusage rusage; local 203 if (getrusage(RUSAGE_SELF, &rusage) == 0) { 206 rusage.ru_utime.tv_sec, rusage.ru_utime.tv_usec, 207 rusage.ru_stime.tv_sec, rusage.ru_stime.tv_usec);
|
/illumos-gate/usr/src/cmd/passwd/ |
H A D | passwd.c | 200 static void rusage(void); 281 rusage(); 700 rusage(); 714 rusage(); 734 rusage(); /* exit */ 744 rusage(); 763 rusage(); /* exit */ 776 rusage(); /* exit */ 795 rusage(); /* exit */ 808 rusage(); /* exi 1759 rusage(void) function [all...] |
/illumos-gate/usr/src/lib/libbc/libc/sys/common/ |
H A D | wait.c | 51 * Since sysV does not support rusage as in BSD, an approximate approach 58 * rusage ~= diff in the 2 times call 158 wait3(int *status, int options, struct rusage *rp) 169 wait4(int pid, int *status, int options, struct rusage *rp) 184 memset(rp, 0, sizeof(struct rusage));
|
/illumos-gate/usr/src/ucbcmd/ |
H A D | Makefile | 52 rusage \ 71 MSGSUBDIRS = biff install.d mkstr rusage shutdown
|
/illumos-gate/usr/src/man/man1b/ |
H A D | Makefile | 45 rusage.1b \
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | rusagesys.c | 40 struct rusage r; 46 bzero(&r, sizeof (struct rusage)); 125 struct rusage r; 130 bzero(&r, sizeof (struct rusage)); 187 struct rusage r; 193 bzero(&r, sizeof (struct rusage));
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | conf.h | 27 struct rusage; /* forward declaration to get gcc to shut up in wait.h */
|