Files
Arquivotheca.SunOS-4.1.3/lib/libc/sys/common/mkfifo.c
seta75D 2e8a93c394 Init
2021-10-11 18:20:23 -03:00

16 lines
310 B
C

#if !defined(lint) && defined(SCCSIDS)
static char sccsid[] = "@(#)mkfifo.c 1.1 92/07/30 SMI";
#endif
#include <sys/types.h>
#include <sys/stat.h>
#include "../common/chkpath.h"
mkfifo(path, mode)
char *path;
mode_t mode;
{
CHK(path);
return mknod(path, S_IFIFO | (mode & (S_IRWXU|S_IRWXG|S_IRWXO)));
}