File: memops.h

package info (click to toggle)
swapd 0.2-10
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, sarge
  • size: 252 kB
  • ctags: 59
  • sloc: ansic: 811; sh: 223; makefile: 72
file content (14 lines) | stat: -rw-r--r-- 437 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
memops.h, copyright Neven Lovric <nlovric@linux.hr>

smalloc and srealloc are equivalent to malloc and realloc in every way,
except they neven fail
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

#ifndef _MEMOPS_H
#define _MEMOPS_H

extern void *smalloc(size_t);
extern void *srealloc(void *, size_t);

#endif /* _MEMOPS_H */