File: acct.2

package info (click to toggle)
manpages-ja 0.4.0.0.20020315-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 14,808 kB
  • ctags: 4
  • sloc: sh: 9,595; perl: 157; makefile: 62
file content (129 lines) | stat: -rw-r--r-- 3,958 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
.\" Hey Emacs! This file is -*- nroff -*- source.
.\"
.\" Copyright (c) 1993 Michael Haardt
.\" (michael@moria.de),
.\" Fri Apr  2 11:32:09 MET DST 1993
.\"
.\" This is free documentation; you can redistribute it and/or
.\" modify it under the terms of the GNU General Public License as
.\" published by the Free Software Foundation; either version 2 of
.\" the License, or (at your option) any later version.
.\"
.\" The GNU General Public License's references to "object code"
.\" and "executables" are to be interpreted as the output of any
.\" document formatting or typesetting system, including
.\" intermediate and printed output.
.\"
.\" This manual is distributed in the hope that it will be useful,
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
.\" GNU General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public
.\" License along with this manual; if not, write to the Free
.\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111,
.\" USA.
.\"
.\" Modified Thu Jul 22 14:00:08 1993 by Rik Faith <faith@cs.unc.edu>
.\" Modified Tue Aug 10 1993 by Alan Cox <iiitac@pyramid.swansea.ac.uk>
.\" Modified Wed Nov 4  1998 by Tigran Aivazian <tigran@sco.com>
.\"
.\" Japanese Version Copyright (c) 1997 HANATAKA Shinya
.\"         all rights reserved.
.\" Translated Sat Feb 22 19:55:40 JST 1997
.\"         by HANATAKA Shinya <hanataka@abyss.rim.or.jp>
.\" Modified Mon Nov 30 23:37:38 JST 1998
.\"         by HANATAKA Shinya <hanataka@abyss.rim.or.jp>
.\" Updated and Modified Sat Jun  2 10:52:12 JST 2001
.\"         by Yuichi SATO <ysato@h4.dion.ne.jp>
.\" Updated and Modified Mon Oct 15 20:07:44 JST 2001 by Yuichi SATO
.\"
.\"WORD:	account			
.\"WORD:	process			ץ
.\"
.TH ACCT 2 1998-11-04 "Linux 2.1.126" "Linux Programmer's Manual"
.SH ̾
acct \- ץȤΥȥդڤ괹
.SH 
.ad l
.nf
.B #include <unistd.h>
.sp
.BI "int acct(const char *" filename );
.fi
.ad b
.SH 
¸ߤե̾ȤƸƤӽФ줿顢 (account) 
ˤ졢λץεϿ \fIfilename\fP ɲä롣
\fBNULL\fP ȤƸƤӽФ줿饢Ȥ򥪥դˤ롣
.SH ֤
ϥ֤롣顼ξ \-1 ֤졢
.I errno
Ŭڤꤵ롣
.SH 顼
.TP
.B EACCES
ꤷեؤν񤭹ߵĤʤ񤭹ߤݤ줿
.TP
.B EACCES

.I filename
̾ (regular) ΥեǤʤ
.TP
.B EFAULT
Ǥ륢ɥ쥹֤γ
.I filename
ؤƤ롣
.TP
.B EIO
.IR filename 
ؤν񤭹ߤ˥顼ȯ
.TP
.B EISDIR
.I filename 
ǥ쥯ȥǤ롣
.TP
.B ELOOP
.I filename
μΤˤɤ夯ޤǤΥܥå󥯤ο¿롣
.TP
.B ENAMETOOLONG
.I filename
Ĺ롣
.TP
.B ENOENT
ꤵ줿ե뤬¸ߤʤ
.TP
.B ENOMEM
꤬­ʤ
.TP
.B ENOSYS
ͥ򥳥ѥ뤷 BSD ץȤͭˤʤäƤʤ
εǽϥͥΥե CONFIG_BSD_PROCESS_ACCT
ѥ᡼ˤä椵롣
.TP
.B ENOTDIR
.I filename 
ǥǥ쥯ȥꤷưƤǤ
ºݤϥǥ쥯ȥǤʤ
.TP
.B EPERM
ƤӽФץˤϥץȤͭˤ븢¤ʤ
.TP
.B EROFS
ɤ߹ߤΥե륷ƥΥե
.I filename 
ȤƤ롣
.TP
.B EUSERS
Ѳǽʥե빽¤Τʤ꤬­ʤ
.SH 
SVr4 ( POSIX ǤϤʤ)
SVr4 ˤ EBUSY 顼ҤƤ뤬EISDIR, ENOSYS Ϥʤ
AIX  HPUX ˤϡEBUSY ˤĤơ֤Ǥ˥ȤͭˤƤˡ
ͭˤ褦ȤפȤҤ롣
 Solaris ˤָߡȤ˻ȤƤե
ƱեǥȤͭˤ褦ȤפȤҤƱǤ롣
.SH 
å (crash) äƤץΥȤʤ
äˡλʤץबȤ뤳ȤϤʤ