diff options
| author | Roy Marples <roy@marples.name> | 2008-01-28 15:32:04 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2008-01-28 15:32:04 +0000 |
| commit | 7ab8b9f184628ec9bd7466df72e61d621185fa55 (patch) | |
| tree | e10c07f2f31506f7082a158acf3db82a2170f5a0 /common.h | |
| parent | 36c01cf227ef87707950b60d6feccb5098a73b01 (diff) | |
| download | dhcpcd-7ab8b9f184628ec9bd7466df72e61d621185fa55.tar.xz | |
Introduce xzalloc, which zeros memory as well as allocates it. This makes us smaller.
Diffstat (limited to 'common.h')
| -rw-r--r-- | common.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -59,6 +59,7 @@ time_t uptime (void); void writepid (int fd, pid_t pid); void *xrealloc (void *ptr, size_t size); void *xmalloc (size_t size); +void *xzalloc (size_t size); char *xstrdup (const char *str); #endif |
