Back to index

glibc  2.9
Functions
xmknod.c File Reference
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stub-tag.h>

Go to the source code of this file.

Functions

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

Function Documentation

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

Definition at line 27 of file xmknod.c.

{
  if (vers != _MKNOD_VER)
    {
      __set_errno (EINVAL);
      return -1;
    }

  if (path == NULL)
    {
      __set_errno (EINVAL);
      return -1;
    }

  __set_errno (ENOSYS);
  return -1;
}