Minix1.5/lib/posix/mkfifo.c

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

#include <lib.h>
#include <sys/types.h>
#include <sys/stat.h>

PUBLIC int mkfifo(name, mode)
_CONST char *name;
int mode;
{
  mode = (mode & 0777) | S_IFIFO;
  return(callm1(FS, MKNOD, len(name), (int)mode, 0,
	 (char *)name, NIL_PTR, NIL_PTR));
}