add directory Ref-docs
This commit is contained in:
32
Ref-docs/syscalls/syscalls_84.html
Normal file
32
Ref-docs/syscalls/syscalls_84.html
Normal file
@@ -0,0 +1,32 @@
|
||||
<html><!-- This HTML file has been created by texi2html 1.29
|
||||
from syscalls.texi on 4 June 1994 -->
|
||||
|
||||
<TITLE>Syscall specifications of Linux - acct</TITLE>
|
||||
<P>Go to the <A HREF="syscalls_83.html" tppabs="http://www.infran.ru/TechInfo/syscalls/syscalls_83.html">previous</A>, <A HREF="syscalls_85.html" tppabs="http://www.infran.ru/TechInfo/syscalls/syscalls_85.html">next</A> section.<P>
|
||||
<H2><A NAME="SEC84" HREF="syscalls_toc.html#SEC84" tppabs="http://www.infran.ru/TechInfo/syscalls/syscalls_toc.html#SEC84">acct</A></H2>
|
||||
<P>
|
||||
<H3>SYNOPSIS</H3>
|
||||
<P>
|
||||
<CODE>int acct(const char *<VAR>filename</VAR>);</CODE>
|
||||
<P>
|
||||
<H3>PARAMETERS</H3>
|
||||
<P>
|
||||
<VAR>filename</VAR>: [in] contains the path of the accounting file, or
|
||||
<CODE>NULL</CODE>.
|
||||
<P>
|
||||
<H3>DESCRIPTION</H3>
|
||||
<P>
|
||||
This call is not part of the plain Linux distribution. If the acct
|
||||
package is not installed, the call always return -1 and <CODE>errno</CODE> is set to
|
||||
<CODE>ENOSYS</CODE>. If the package is installed then the call function
|
||||
normally. In that case, if <VAR>filename</VAR> points to a valid path, the
|
||||
termination time of each process will be loggued in the filename it
|
||||
points to. Otherwise, if <VAR>filename</VAR> is <CODE>NULL</CODE>, then the
|
||||
accounting function is turned off.
|
||||
<P>
|
||||
<H3>RETURN VALUE</H3>
|
||||
<P>
|
||||
On success zero is returned. On error -1 is returned and <CODE>errno</CODE> is
|
||||
set to reflect the kind of error that occured.
|
||||
<P>
|
||||
<P>Go to the <A HREF="syscalls_83.html" tppabs="http://www.infran.ru/TechInfo/syscalls/syscalls_83.html">previous</A>, <A HREF="syscalls_85.html" tppabs="http://www.infran.ru/TechInfo/syscalls/syscalls_85.html">next</A> section.<P>
|
||||
Reference in New Issue
Block a user