4.4BSD/usr/src/contrib/news/inn/lib/mkfifo.c

Compare this file to the similar file:
Show the results in this format:

/*  $Revision: 1.1 $
**
*/
#include <sys/types.h>
#include <sys/stat.h>


/*
**  Call mknod(2) to make a fifo.
*/
int
mkfifo(path, mode)
    char	*path;
    int		mode;
{
    return mknod(path, S_IFIFO | mode, 0);
}