mknod (2) Linux Manual Page
mknod, mknodat – create a special or ordinary file Synopsis#include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> int mknod(const char *pathname, mode_t mode, dev_t dev); #include <fcntl.h> /* Definition of AT_* constants */ #include <sys/stat.h> int mknodat(int dirfd, const char *pathname, mode_t mode, dev_t dev);Feature Test Macro Requirements for glibc (see feature_test_macros(7)): mknod(): _XOPEN_SOURCE >= 500 || /* Since…
