tbin.h - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
tbin.h (402B)
---
1 #ifndef _BIN_H_
2 #define _BIN_H_ 1
3 #if defined(__cplusplus)
4 extern "C" {
5 #endif
6
7 AUTOLIB(bin)
8
9 /*
10 #pragma lib "libbin.a"
11 #pragma src "/sys/src/libbin"
12 */
13
14 #ifndef _HAVE_BIN
15 typedef struct Bin Bin;
16 #define _HAVE_BIN
17 #endif
18
19 void *binalloc(Bin **, ulong size, int zero);
20 void *bingrow(Bin **, void *op, ulong osize, ulong size, int zero);
21 void binfree(Bin **);
22
23 #if defined(__cplusplus)
24 }
25 #endif
26 #endif