RTEMS CPU Kit with SuperCore
Functions
mknod.c File Reference

Create a Special or Ordinary File. More...

#include <sys/stat.h>
#include <rtems/libio_.h>
Include dependency graph for mknod.c:

Functions

int rtems_filesystem_mknod (const rtems_filesystem_location_info_t *parentloc, const char *name, size_t namelen, mode_t mode, dev_t dev)
 
int mknod (const char *path, mode_t mode, dev_t dev)
 This routine is not defined in the POSIX 1003.1b standard but is commonly supported on most UNIX and POSIX systems. More...
 

Detailed Description

Create a Special or Ordinary File.

Function Documentation

◆ mknod()

int mknod ( const char *  path,
mode_t  mode,
dev_t  dev 
)

This routine is not defined in the POSIX 1003.1b standard but is commonly supported on most UNIX and POSIX systems.

It is the foundation for creating file system objects.

Referenced by mkdir(), and mkfifo().