Macros
os_defs.h File Reference
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/stat.h>
#include <sys/types.h>
#include "nvim/os/unix_defs.h"
#include <string.h>

Go to the source code of this file.

Macros

#define BASENAMELEN   (NAME_MAX - 5)
 
#define DEFAULT_MAXPATHL   4096
 
#define MAXPATHL   DEFAULT_MAXPATHL
 
#define CMDBUFFSIZE   1024
 
#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 os_strtok   strtok_r
 
#define S_ISDIR(m)   0
 
#define S_ISREG(m)   0
 
#define S_ISBLK(m)   0
 
#define S_ISSOCK(m)   0
 
#define S_ISFIFO(m)   0
 
#define S_ISCHR(m)   0
 
#define S_ISLNK(m)   0
 

Macro Definition Documentation

◆ BASENAMELEN

#define BASENAMELEN   (NAME_MAX - 5)

◆ CMDBUFFSIZE

#define CMDBUFFSIZE   1024

◆ DEFAULT_MAXPATHL

#define DEFAULT_MAXPATHL   4096

◆ MAXPATHL

#define MAXPATHL   DEFAULT_MAXPATHL

◆ os_strerror

#define os_strerror   uv_strerror

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

◆ os_strtok

#define os_strtok   strtok_r

◆ os_translate_sys_error

#define os_translate_sys_error   uv_translate_sys_error

Converts system error code to libuv error code.

◆ S_ISBLK

#define S_ISBLK (   m)    0

◆ S_ISCHR

#define S_ISCHR (   m)    0

◆ S_ISDIR

#define S_ISDIR (   m)    0

◆ S_ISFIFO

#define S_ISFIFO (   m)    0

◆ S_ISLNK

#define S_ISLNK (   m)    0

◆ S_ISREG

#define S_ISREG (   m)    0

◆ S_ISSOCK

#define S_ISSOCK (   m)    0