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 157 of file config.h.

◆ HAVE_FSTATAT

#define HAVE_FSTATAT

Definition at line 159 of file config.h.

◆ HAVE_INETATON

#define HAVE_INETATON

Definition at line 109 of file config.h.

◆ HAVE_INETPTON

#define HAVE_INETPTON

Definition at line 115 of file config.h.

◆ HAVE_MKDIR

#define HAVE_MKDIR

Definition at line 131 of file config.h.

◆ HAVE_MMAP

#define HAVE_MMAP

Definition at line 146 of file config.h.

◆ HAVE_POSIX_INET_HEADERS

#define HAVE_POSIX_INET_HEADERS

Definition at line 103 of file config.h.

◆ HAVE_REALPATH

#define HAVE_REALPATH

Definition at line 125 of file config.h.

◆ HAVE_REGEX

#define HAVE_REGEX

Definition at line 166 of file config.h.

◆ HAVE_SCANDIR

#define HAVE_SCANDIR

Definition at line 151 of file config.h.

◆ HAVE_SIGPIPE

#define HAVE_SIGPIPE

Definition at line 136 of file config.h.

◆ HAVE_STDOUT

#define HAVE_STDOUT

Definition at line 141 of file config.h.

◆ HAVE_STRFTIME

#define HAVE_STRFTIME

Definition at line 78 of file config.h.

◆ HAVE_STRPTIME

#define HAVE_STRPTIME

Definition at line 77 of file config.h.

◆ HAVE_STRTOULL

#define HAVE_STRTOULL

Definition at line 97 of file config.h.

◆ HAVE_SYS_SELECT

#define HAVE_SYS_SELECT

Definition at line 102 of file config.h.

◆ HAVE_UNLINKAT

#define HAVE_UNLINKAT

Definition at line 158 of file config.h.

◆ HAVE_UTSNAME

#define HAVE_UTSNAME

Definition at line 120 of file config.h.

◆ WITH_MMAP

#define WITH_MMAP

Definition at line 199 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 
)