Changeset View
Changeset View
Standalone View
Standalone View
lib/libsys/getrusage.2
| Show All 25 Lines | |||||
| .\" SUCH DAMAGE. | .\" SUCH DAMAGE. | ||||
| .\" | .\" | ||||
| .Dd May 1, 2010 | .Dd May 1, 2010 | ||||
| .Dt GETRUSAGE 2 | .Dt GETRUSAGE 2 | ||||
| .Os | .Os | ||||
| .Sh NAME | .Sh NAME | ||||
| .Nm getrusage | .Nm getrusage | ||||
| .Nd get information about resource utilization | .Nd get information about resource utilization | ||||
| .Sh LIBRARY | |||||
| .Lb libc | |||||
| .Sh SYNOPSIS | .Sh SYNOPSIS | ||||
| .Lb libc | |||||
| .In sys/types.h | .In sys/types.h | ||||
| .In sys/time.h | .In sys/time.h | ||||
| .In sys/resource.h | .In sys/resource.h | ||||
| .Fd "#define RUSAGE_SELF 0" | .Fd "#define RUSAGE_SELF 0" | ||||
| .Fd "#define RUSAGE_CHILDREN -1" | .Fd "#define RUSAGE_CHILDREN -1" | ||||
| .Fd "#define RUSAGE_THREAD 1" | .Fd "#define RUSAGE_THREAD 1" | ||||
| .Ft int | .Ft int | ||||
| .Fn getrusage "int who" "struct rusage *rusage" | .Fn getrusage "int who" "struct rusage *rusage" | ||||
| ▲ Show 20 Lines • Show All 139 Lines • Show Last 20 Lines | |||||