Server for Information Technologies

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

SHUTDN(3)
XENIX System V (21 1987)


shutdn - oo opa cooo a ocaaae poeccop

	#include <sys/filsys.h>
	#include <sys/param.h>
	#include <sys/types.h>
	
	void shutdn(sblk,nsblk,arg)
	struct filsys *sblk, *nsblk;
	int arg;


Shutdn oo c opa a a c. Ca xo opoae cyepo, ece ecpop o ax ooeoo oa/oa. Cyepo cex aox cce, ocyx ac, oeac a "ce", o p oopo opoa e pooac oepa oc p apye XENIX. ae shutdn o a oco cooee "Normal System Shutdown" ocaaae poeccop.

oce oo pocxo oa ocaoa cce, epeapya acoc o ae arg (0 1).

Ec sblk oe 1, o paccapaec a apec cyepoa, oop oe aca a cce c, ec nsblk ec ooo eo epce. a oooc ooe coaa cocee o cyepoa cceoo ca.

Ec sblk pae 1, op apyeo ec oaa, a pe apye ec apyeo o oa. Koaa CONFPANIC p apyee 0 ooc ocaaae ccey, a p apyee 1 epeapyae ee. aa oaa ec cceo ac cce oo. o apa shutdn coyec oo, o yaa ccee a peapoa a ceyee ceoe coe.

Shutdn o pe pao opye ce ocae poecc. Peoeyec o ayca shutdn aep ce poecc (c. kill(3)), a a p aoc oa/oa cyepo oy e oeac a "ce".

Ba poecc oe pepoa.

.
fsck(8),haltsys(8),shutdown(1),mount(3),kill(3).

AEA
Heoxoo cooa a ocpoe -lx.
Comments: info@citmgu.ru
Designed by Andrey Novikov
Copyright © CIT