Data Structures | Macros
fs_defs.h File Reference
#include <uv.h>

Go to the source code of this file.

Data Structures

struct  FileInfo
 Struct which encapsulates stat information. More...
 
struct  FileID
 Struct which encapsulates inode/dev_id information. More...
 
struct  Directory
 

Macros

#define FILE_ID_EMPTY   (FileID) { .inode = 0, .device_id = 0 }
 
#define os_strerror   uv_strerror
 Converts libuv error (negative int) to error description string. More...
 
#define os_translate_sys_error   uv_translate_sys_error
 Converts system error code to libuv error code. More...
 
#define NODE_NORMAL   0
 
#define NODE_WRITABLE   1
 
#define NODE_OTHER   2
 

Macro Definition Documentation

#define FILE_ID_EMPTY   (FileID) { .inode = 0, .device_id = 0 }
#define NODE_NORMAL   0
#define NODE_OTHER   2
#define NODE_WRITABLE   1
#define os_strerror   uv_strerror

Converts libuv error (negative int) to error description string.

#define os_translate_sys_error   uv_translate_sys_error

Converts system error code to libuv error code.