source: EcnlProtoTool/trunk/musl-1.1.18/include/sys/param.h@ 331

Last change on this file since 331 was 331, checked in by coas-nagasima, 6 years ago

prototoolに関連するプロジェクトをnewlibからmuslを使うよう変更・更新
ntshellをnewlibの下位の実装から、muslのsyscallの実装に変更・更新
以下のOSSをアップデート
・mruby-1.3.0
・musl-1.1.18
・onigmo-6.1.3
・tcc-0.9.27
以下のOSSを追加
・openssl-1.1.0e
・curl-7.57.0
・zlib-1.2.11
以下のmrbgemsを追加
・iij/mruby-digest
・iij/mruby-env
・iij/mruby-errno
・iij/mruby-iijson
・iij/mruby-ipaddr
・iij/mruby-mock
・iij/mruby-require
・iij/mruby-tls-openssl

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/x-chdr
File size: 755 bytes
Line 
1#ifndef _SYS_PARAM_H
2#define _SYS_PARAM_H
3
4#define MAXSYMLINKS 20
5#define MAXHOSTNAMELEN 64
6#define MAXNAMLEN 255
7#define MAXPATHLEN 4096
8#define NBBY 8
9#define NGROUPS 32
10#define CANBSIZ 255
11#define NOFILE 256
12#define NCARGS 131072
13#define DEV_BSIZE 512
14#define NOGROUP (-1)
15
16#undef MIN
17#undef MAX
18#define MIN(a,b) (((a)<(b))?(a):(b))
19#define MAX(a,b) (((a)>(b))?(a):(b))
20
21#define __bitop(x,i,o) ((x)[(i)/8] o (1<<(i)%8))
22#define setbit(x,i) __bitop(x,i,|=)
23#define clrbit(x,i) __bitop(x,i,&=~)
24#define isset(x,i) __bitop(x,i,&)
25#define isclr(x,i) !isset(x,i)
26
27#define howmany(n,d) (((n)+((d)-1))/(d))
28#define roundup(n,d) (howmany(n,d)*(d))
29#define powerof2(n) !(((n)-1) & (n))
30
31#include <sys/resource.h>
32#include <endian.h>
33#include <limits.h>
34
35#endif
Note: See TracBrowser for help on using the repository browser.