Server for Information Technologies

(095) 932-9212, 932-9213, 939-0783
E-mail: info@citforum.ru
(!) CIT Forum CD-ROM

ACCT(3)
XENIX System V (21 1987)


acct - papeae apeae cop opa o poeccax

	#include <sys/types.h>
	
	int acct (path)
	char *path;


acct coyec e e copa yeo opa o paoe poecco. Ec cop opa e, p aepe aoo poecca eaec cooecya ac ye a. poecc aepaec o c oo oa exit, o p oye caa, oop o e oppye e epexaae; c. exit(3) signal(3). oe cceoo oa acct poecc oe e pepoa e ooaec ID.

path yaae yeoo aa. opa yeoo aa poc acct(5).

Cop opa aec aec, ec p oe cceoo oa e o oapyeo oo. Cop aec, ec path e pae y aec, ec path pae y.

acct aapo aepaec, ec oec xo oo ceyx yco:
[EPERM] e ooaec ID poecca e pepoa.
[EBUSY] oa ye e cop opa.
[ENOTDIR] Kooe peca e aa e ec aaoo.
[ENOENT] Kooe e yeoo aa e cyecye.
[EACCES] He papee a oc ao-o aaoe peca e aa.
[EACCES] a, aa ee path, e ec o ao.
[EACCES] Ko a apeae ocy yeoy ay.
[EACCES] aa a ec aaoo.
[EROFS] aa a pae aoo ccee, peaaeo oo e.
[EFAULT] Apec, aa path, xo a pee apecoo pocpaca poecca.

Bopaaeoe aee
B cyae yceoo aepe opaaec aee 0. ae opaaec aee -1 errno aocc o o.

.
accton(1), acctcom(1), acct(5)
Comments: info@citmgu.ru
Designed by Andrey Novikov
Copyright © CIT