Logo Search packages:      
Sourcecode: daemontools version File versions  Download package

fifo.c

/* Public domain. */

#include <sys/types.h>
#include <sys/stat.h>
#include "hasmkffo.h"
#include "fifo.h"

#ifdef HASMKFIFO
int fifo_make(const char *fn,int mode) { return mkfifo(fn,mode); }
#else
int fifo_make(const char *fn,int mode) { return mknod(fn,S_IFIFO | mode,0); }
#endif

Generated by  Doxygen 1.6.0   Back to index