Back to index

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

Go to the source code of this file.

Functions

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

Function Documentation

int __syscall_mknod ( const char *  ,
mode_t  ,
dev_t   
)

Here is the caller graph for this function:

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

Definition at line 30 of file xmknod.c.

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

  return __syscall_mknod (path, mode, *dev);
}

Here is the call graph for this function: