RTEMS: cpukit/libcsupport/src/mknod.c File Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Functions
mknod.c File Reference
Internal » Standard C Library Support

Create a Special or Ordinary File. More...

`#include <sys/stat.h>`
`#include <rtems/libio_.h>`

## 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)

## 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.