unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (4.2BSD)
Page:
Section:
Apropos / Subsearch:
optional field

TIMES(3C)                                                            TIMES(3C)



NAME
       times - get process times

SYNOPSIS
       #include <&lt;sys/types.h>&gt;
       #include <&lt;sys/times.h>&gt;

       times(buffer)
       struct tms *buffer;

DESCRIPTION
       This interface is obsoleted by getrusage(2).

       Times  returns  time-accounting information for the current process and
       for the terminated child processes of the current process.   All  times
       are in 1/HZ seconds, where HZ is 60.

       This is the structure returned by times:

       The  children  times  are  the  sum of the children's process times and
       their children's times.

SEE ALSO
       time(1), getrusage(2), wait3(2), time(3)



4th Berkeley Distribution        1 April 1983                        TIMES(3C)