2 * Copyright (c) 1983 Regents of the University of California.
3 * All rights reserved. The Berkeley software License Agreement
4 * specifies the terms and conditions for redistribution.
7 #pragma ident "%Z%%M% %I% %E% SMI"
24 *s
= (pid
% 10) + '0';
29 while ((fd
= open(as
, O_CREAT
|O_EXCL
|O_RDWR
, 0600)) == -1) {