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 39 of file compat-basename.c.

Referenced by init_options_dev().

◆ daemon()

int daemon ( int  nochdir,
int  noclose 

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

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

◆ dirname()

char* dirname ( char *  str)

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

References __memrchr().

Referenced by check_file_access().

◆ strsep()

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