NetSurf
Macros | Functions
config.h File Reference
#include <stddef.h>
Include dependency graph for config.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define HAVE_STRPTIME
 
#define HAVE_STRFTIME
 
#define HAVE_STRTOULL
 
#define HAVE_SYS_SELECT
 
#define HAVE_POSIX_INET_HEADERS
 
#define HAVE_INETATON
 
#define HAVE_INETPTON
 
#define HAVE_UTSNAME
 
#define HAVE_REALPATH
 
#define HAVE_MKDIR
 
#define HAVE_SIGPIPE
 
#define HAVE_STDOUT
 
#define HAVE_MMAP
 
#define HAVE_SCANDIR
 
#define HAVE_DIRFD
 
#define HAVE_UNLINKAT
 
#define HAVE_FSTATAT
 
#define HAVE_REGEX
 
#define WITH_MMAP
 

Functions

char * strndup (const char *s, size_t n)
 Duplicate up to n characters of a string. More...
 
char * strcasestr (const char *haystack, const char *needle)
 Case insensitive strstr implementation. More...
 
char * strchrnul (const char *s, int c)
 Find the first occurrence of C in S or the final NUL byte. More...
 

Macro Definition Documentation

◆ HAVE_DIRFD

#define HAVE_DIRFD

Definition at line 149 of file config.h.

◆ HAVE_FSTATAT

#define HAVE_FSTATAT

Definition at line 151 of file config.h.

◆ HAVE_INETATON

#define HAVE_INETATON

Definition at line 101 of file config.h.

◆ HAVE_INETPTON

#define HAVE_INETPTON

Definition at line 107 of file config.h.

◆ HAVE_MKDIR

#define HAVE_MKDIR

Definition at line 123 of file config.h.

◆ HAVE_MMAP

#define HAVE_MMAP

Definition at line 138 of file config.h.

◆ HAVE_POSIX_INET_HEADERS

#define HAVE_POSIX_INET_HEADERS

Definition at line 95 of file config.h.

◆ HAVE_REALPATH

#define HAVE_REALPATH

Definition at line 117 of file config.h.

◆ HAVE_REGEX

#define HAVE_REGEX

Definition at line 158 of file config.h.

◆ HAVE_SCANDIR

#define HAVE_SCANDIR

Definition at line 143 of file config.h.

◆ HAVE_SIGPIPE

#define HAVE_SIGPIPE

Definition at line 128 of file config.h.

◆ HAVE_STDOUT

#define HAVE_STDOUT

Definition at line 133 of file config.h.

◆ HAVE_STRFTIME

#define HAVE_STRFTIME

Definition at line 71 of file config.h.

◆ HAVE_STRPTIME

#define HAVE_STRPTIME

Definition at line 70 of file config.h.

◆ HAVE_STRTOULL

#define HAVE_STRTOULL

Definition at line 89 of file config.h.

◆ HAVE_SYS_SELECT

#define HAVE_SYS_SELECT

Definition at line 94 of file config.h.

◆ HAVE_UNLINKAT

#define HAVE_UNLINKAT

Definition at line 150 of file config.h.

◆ HAVE_UTSNAME

#define HAVE_UTSNAME

Definition at line 112 of file config.h.

◆ WITH_MMAP

#define WITH_MMAP

Definition at line 191 of file config.h.

Function Documentation

◆ strcasestr()

char * strcasestr ( const char *  haystack,
const char *  needle 
)

Case insensitive strstr implementation.

Parameters
haystackString to search in
needleString to look for
Returns
Pointer to start of found substring, or NULL if not found

Definition at line 310 of file utils.c.

Referenced by html_create_style_element(), html_css_process_link(), html_css_process_style(), ro_gui_wimp_desktop_font(), and treeview__search_walk_cb().

Here is the caller graph for this function:

◆ strchrnul()

char * strchrnul ( const char *  s,
int  c 
)

Find the first occurrence of C in S or the final NUL byte.

Definition at line 443 of file utils.c.

◆ strndup()

char * strndup ( const char *  s,
size_t  n 
)