compat.h File Reference
#include <winsock2.h>
#include <ws2tcpip.h>
Include dependency graph for compat.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


char * dirname (char *str)
char * basename (char *str)
int daemon (int nochdir, int noclose)
char * strsep (char **stringp, const char *delim)

Function Documentation

◆ basename()

char* basename ( char *  str)

Definition at line 37 of file compat-basename.c.

Referenced by init_options_dev().

◆ daemon()

int daemon ( int  nochdir,
int  noclose 

Definition at line 51 of file compat-daemon.c.

Referenced by daemonize(), possibly_become_daemon(), and show_settings().

◆ dirname()

char* dirname ( char *  str)

Definition at line 62 of file compat-dirname.c.

References __memrchr().

Referenced by check_file_access().

◆ strsep()

char* strsep ( char **  stringp,
const char *  delim