Doxygen Source Code Documentation
acconfig.h File Reference
#include <stddef.h>
Go to the source code of this file.
Defines | |
#define | PACKAGE "gifsicle" |
#define | VERSION "97" |
#define | PATHNAME_SEPARATOR '/' |
#define | xmalloc(s) fail_die_malloc((s),__FILE__,__LINE__) |
#define | xrealloc(p, s) fail_die_realloc((p),(s),__FILE__,__LINE__) |
#define | xfree free |
Functions | |
void * | fail_die_malloc (size_t, const char *, int) |
void * | fail_die_realloc (void *, size_t, const char *, int) |
char * | strerror (int errno) |
Define Documentation
|
Definition at line 6 of file acconfig.h. |
|
Definition at line 28 of file acconfig.h. |
|
Definition at line 7 of file acconfig.h. |
|
Definition at line 53 of file acconfig.h. Referenced by globfree(). |
|
Definition at line 51 of file acconfig.h. Referenced by globextend(). |
|
Definition at line 52 of file acconfig.h. Referenced by globextend(). |
Function Documentation
|
Definition at line 20 of file fmalloc.c.
|
|
Definition at line 29 of file fmalloc.c.
00030 { 00031 if (!p) 00032 return fail_die_malloc(size, file, line); 00033 p = realloc(p, size); 00034 if (!p && size) 00035 fail_die_malloc_die(size, file, line); 00036 return p; 00037 } |
|
Definition at line 13 of file strerror.c. References sys_errlist, and sys_nerr. Referenced by DCM_WriteFile(), dlopen(), get_input_stream(), input_stream(), main(), nc_strerror(), output_information(), pipe_color_transformer(), read_colormap_file(), stringErrorReport(), write_stream(), and writeFile().
00014 { 00015 extern int sys_nerr; 00016 extern char *sys_errlist[]; 00017 if (errno < 0 || errno >= sys_nerr) 00018 return (char *)"bad error number"; 00019 else 00020 return sys_errlist[errno]; 00021 } |