Unix Man ( )


EXIT(3)


EXIT(3)
XENIX System V (21 1987)


exit, _exit - aepa poecc

void exit(status) int status;

void _exit(status) int status;


exit aepae ey poecc. Bce a, ope ey poecco, apac.

Ec oe eyeo poecca oe a oe cce o wait, o eaec o aepe ca ey epeac ae 8 (.e. 0377) status; c. wait(3). Ec oe e axoc oa aepe ca, cayc aepe ye epea ey, oa o o wait(3).

Ec oe eyeo poecca e oe ceac wait, aepee eyeo poecca opyec. Tao poecc oo aae eco ae poecco e peye ce eo apecx pocpacax pa ooae. aaeoe eco ae poecco oe aco ao yeo opae (c. ) cooa cce oo times(3).

ID oa cex coe eyeo poecca cex poecco, aepee oopx opoao, caoc pa 1. o oaae, o o ca ooa apyeo poecca (c. ).

Ka pcoee eyey poeccy cee paeeo a ocoeec, aee shm_mattach cooecye cpyype ax yeaec a 1.

aoo ceaopa, y oopoo ey poecc ycao aee semadj (c. semop(3)), aee semadj oaec ae semval oo ceaopa.

Ec ey poecc e opoa a cee cpy, cee ax oa ceea, oec unlock (c. plock(3)).

Ec ecye cce ye, ye a ye ceaa ac o aepe poecca; c. .

Ec y eyeo poecca eo ID, ID py poecco ID epao py coaa, ce poecca, e ao e ID py poecco, ocaec ca SIGHUP.

Bcpoea y exit oe ea eoopy ooey cy ccex a epe aepee poecca. y _exit oxo ec oe oo o, o yaao e.

.


, , plock(3), semop(3), signal(3), wait(3)

PEYPEEE


C. peypeee signal(3)