add directory study
This commit is contained in:
34
study/Ref-docs/syscalls/syscalls_109.html
Normal file
34
study/Ref-docs/syscalls/syscalls_109.html
Normal file
@@ -0,0 +1,34 @@
|
||||
<html><!-- This HTML file has been created by texi2html 1.29
|
||||
from syscalls.texi on 4 June 1994 -->
|
||||
|
||||
<TITLE>Syscall specifications of Linux - times</TITLE>
|
||||
<P>Go to the <A HREF="syscalls_108.html" tppabs="http://www.infran.ru/TechInfo/syscalls/syscalls_108.html">previous</A>, <A HREF="syscalls_110.html" tppabs="http://www.infran.ru/TechInfo/syscalls/syscalls_110.html">next</A> section.<P>
|
||||
<H2><A NAME="SEC109" HREF="syscalls_toc.html#SEC109" tppabs="http://www.infran.ru/TechInfo/syscalls/syscalls_toc.html#SEC109">times</A></H2>
|
||||
<P>
|
||||
<H3>SYNOPSIS</H3>
|
||||
<P>
|
||||
<CODE>clock_t times(struct tms *<VAR>buf</VAR>);</CODE>
|
||||
<P>
|
||||
<H3>PARAMETERS</H3>
|
||||
<P>
|
||||
<VAR>buf</VAR>: [out] where to store the times.
|
||||
<P>
|
||||
<H3>DESCRIPTION</H3>
|
||||
<P>
|
||||
Retreives the current task times. The <CODE>tms</CODE> structure has the
|
||||
layout:
|
||||
<P>
|
||||
<PRE>
|
||||
struct tms {
|
||||
time_t tms_utime; /* user time */
|
||||
time_t tms_stime; /* system time */
|
||||
time_t tms_cutime; /* user time of children */
|
||||
time_t tms_cstime; /* system time of children */
|
||||
};
|
||||
</PRE>
|
||||
<P>
|
||||
<H3>RETURN VALUE</H3>
|
||||
<P>
|
||||
The number of system ticks elapsed since the system has booted.
|
||||
<P>
|
||||
<P>Go to the <A HREF="syscalls_108.html" tppabs="http://www.infran.ru/TechInfo/syscalls/syscalls_108.html">previous</A>, <A HREF="syscalls_110.html" tppabs="http://www.infran.ru/TechInfo/syscalls/syscalls_110.html">next</A> section.<P>
|
||||
Reference in New Issue
Block a user