File: smalloc.c

package info (click to toggle)
drawterm 20110822-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch, wheezy
  • size: 2,944 kB
  • ctags: 5,508
  • sloc: ansic: 55,192; makefile: 568; sh: 23; asm: 20
file content (18 lines) | stat: -rw-r--r-- 187 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include "u.h"
#include "lib.h"
#include "dat.h"
#include "fns.h"
#include "error.h"

void*
smalloc(ulong n)
{
	return mallocz(n, 1);
}

void*
malloc(ulong n)
{
	return mallocz(n, 1);
}