NetSurf
|
#include <stddef.h>
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... | |
char * strcasestr | ( | const char * | haystack, |
const char * | needle | ||
) |
Case insensitive strstr implementation.
haystack | String to search in |
needle | String to look for |
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().
char * strchrnul | ( | const char * | s, |
int | c | ||
) |
char * strndup | ( | const char * | s, |
size_t | n | ||
) |
Duplicate up to n characters of a string.
Definition at line 332 of file utils.c.
Referenced by box_textarea_callback(), fetch_data_process(), form_acceptable_charset(), form_gadget_sync_with_dom(), gui_default_utf8(), html_process_inserted_meta(), llcache_fetch_split_header(), parse_button_element(), parse_form_element(), parse_input_element(), parse_select_element(), parse_textarea_element(), ro_url_message_received(), save_complete_rewrite_stylesheet_urls(), urldb_parse_cookie(), utf8_convert(), utf8_from_local_encoding(), and utf8_to_local_encoding().