<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'> <html xmlns='http://www.w3.org/1999/xhtml'> <head> <title>tag</title> <meta name='robots' content='noindex,nofollow' /> <meta name='generator' content='GLOBAL-6.6.5' /> <meta http-equiv='Content-Style-Type' content='text/css' /> <link rel='stylesheet' type='text/css' href='../style.css' /> </head> <body> <pre> <span class='curline'><a href='../S/2424.html#L34'>tag</a> 34 include/cmem.h void *malloc_chk(size_t size, const char *tag);</span> <span class='curline'><a href='../S/2424.html#L47'>tag</a> 47 include/cmem.h void *calloc_chk(size_t nmemb, size_t size, const char *tag);</span> <span class='curline'><a href='../S/2424.html#L57'>tag</a> 57 include/cmem.h char *strdup_chk(const char *s, const char *tag);</span> <span class='curline'><a href='../S/2424.html#L68'>tag</a> 68 include/cmem.h char *strndup_chk(const char *s, size_t len, const char *tag);</span> <span class='curline'><a href='../S/2831.html#L3'>tag</a> 3 src/cmem.c void *malloc_chk(size_t size, const char *tag)</span> <span class='curline'><a href='../S/2831.html#L8'>tag</a> 8 src/cmem.c fprintf(stderr, "%s: cannot allocate memory\n", tag);</span> <span class='curline'><a href='../S/2831.html#L14'>tag</a> 14 src/cmem.c void *calloc_chk(size_t nmemb, size_t size, const char *tag)</span> <span class='curline'><a href='../S/2831.html#L19'>tag</a> 19 src/cmem.c fprintf(stderr, "%s: cannot allocate memory\n", tag);</span> <span class='curline'><a href='../S/2831.html#L25'>tag</a> 25 src/cmem.c char *strdup_chk(const char *s, const char *tag)</span> <span class='curline'><a href='../S/2831.html#L28'>tag</a> 28 src/cmem.c char *t = malloc_chk(strlen(s) + 1, tag);</span> <span class='curline'><a href='../S/2831.html#L33'>tag</a> 33 src/cmem.c char *strndup_chk(const char *s, size_t len, const char *tag)</span> <span class='curline'><a href='../S/2831.html#L39'>tag</a> 39 src/cmem.c t = malloc_chk(len + 1, tag);</span> <span class='curline'><a href='../S/2831.html#L43'>tag</a> 43 src/cmem.c t = strdup_chk(s, tag);</span> </pre> </body> </html>