Navigation

Operators and Keywords

Function List:

C++ API

openat-proc.c File Reference

#include <config.h>
#include "openat-priv.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "dirname.h"
#include "intprops.h"
#include "same-inode.h"
Include dependency graph for openat-proc.c:

Defines

#define PROC_SELF_FD_FORMAT   "/proc/self/fd/%d/%s"
#define PROC_SELF_FD_NAME_SIZE_BOUND(len)

Functions

char * openat_proc_name (char buf[OPENAT_BUFFER_SIZE], int fd, char const *file)

Define Documentation

#define PROC_SELF_FD_FORMAT   "/proc/self/fd/%d/%s"
#define PROC_SELF_FD_NAME_SIZE_BOUND (   len  ) 
Value:
(sizeof PROC_SELF_FD_FORMAT - sizeof "%d%s" \
   + INT_STRLEN_BOUND (int) + (len) + 1)

Function Documentation

char* openat_proc_name ( char  buf[OPENAT_BUFFER_SIZE],
int  fd,
char const *  file 
)
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines