~lattis/muon

ref: f9a8cbad39b665a9496cd3adb4756e85ee5ec97c muon/include/buf_size.h -rw-r--r-- 317 bytes
f9a8cbadStone Tickle print stdout/stderr of failing test 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef MUON_BUF_SIZE_H
#define MUON_BUF_SIZE_H

#define BUF_SIZE_S 255
#define BUF_SIZE_1k 1024
#define BUF_SIZE_2k 2048
#define BUF_SIZE_4k 4096
#define BUF_SIZE_1m 1048576ul
#define MAX_ARGS 64
#define MAX_ENV 16
#define ARG_BUF_SIZE BUF_SIZE_4k

#define ARRAY_SIZE(array) (sizeof(array) / sizeof(*array))

#endif