elks-enhanced
public
Read
Owner: themaster
Branch: master
Commits: 6893
Updated: 2026-04-19 00:15
Git CLI clone URL
git clone https://www.xt-emporium.com/git/elks-enhanced.git
Fullscreen desktop URL
Code
Commits
History
Branches
Bug Reports
Discussions
Compare
Settings
elks-enhanced
/
elkscmd
/
busyelks
/
cmd
/
mkfifo.c
File editor
#include <unistd.h> #include <sys/stat.h> int mkfifo_main (argc,argv) int argc; char **argv; { unsigned short newmode; int i,er=0; newmode = 0666 & ~umask(0); for(i=1;i<argc;i++) { /* The first line below mith mkfifo is used in the GNU version but there is no mkfifo call in elks libc yet */ /* if (mkfifo (argv[i],newmode)) */ if (mknod (argv[i],newmode | S_IFIFO, 0)) { write(STDERR_FILENO,"mkfifo: cannot make fifo ",25); write(STDERR_FILENO,argv[i],strlen(argv[i])); write(STDERR_FILENO,"\n",1); er&=1; } } exit(er); }
Commit message
This repository is read-only for this account.
Repository snapshot
Current branch
master
Visibility
public
Your access
Read
Remote
Configured
File activity
View file history