Unix Man ( )


LOCK(3)


LOCK(3)
XENIX System V (21 1987)


lock - opye poecc oepao a

int lock (flag) int flag;


Ec apye flag e pae 0, ey poecc opyec, .e. e ye pyac a a cee cya, oa ey opeyec ooea a. Ec apye pae 0, poecc paopyec. o o oyc oo poecca c pepoa e ooaec ID.

AEA


opoae poecco oe po yy. B ccee c a oeo oepao a e ceye ooac oo. ye ceo opoa poecc cope oce cceo apy, a a oa ye opoac yaco oe a.

a ocoeoc cea XENIX oe ocycoa pyx peaax UNIX. popa, coye o o, o oooac c ao -lx.