Return to tmux.h CVS log | Up to [local] / src / usr.bin / tmux |
version 1.13, 2009/06/25 06:23:10 | version 1.14, 2009/06/25 22:08:15 | ||
---|---|---|---|
|
|
||
#define printflike5 __attribute__ ((format (printf, 5, 6))) | #define printflike5 __attribute__ ((format (printf, 5, 6))) | ||
/* Number of items in array. */ | /* Number of items in array. */ | ||
#ifndef nitems | |||
#define nitems(_a) (sizeof((_a)) / sizeof((_a)[0])) | #define nitems(_a) (sizeof((_a)) / sizeof((_a)[0])) | ||
#endif | |||
/* Buffer macros. */ | /* Buffer macros. */ | ||
#define BUFFER_USED(b) ((b)->size) | #define BUFFER_USED(b) ((b)->size) |