Files
seta75D ff309bfe1c Init
2021-10-11 18:37:13 -03:00

16 lines
310 B
C

#if !defined(lint) && defined(SCCSIDS)
static char sccsid[] = "@(#)mkfifo.c 1.1 94/10/31 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)));
}