C保留字

原来只认为是基本的函数,库名字,今天看libc manual发现限制更加多
You only need to worry about these restrictions if your program includes that
particular header file.
The header file ‘dirent.h’ reserves names prefixed with ‘d_’.
The header file ‘fcntl.h’ reserves names prefixed with ‘l_’, ‘F_’, ‘O_’, and ‘S_’.
The header file ‘grp.h’ reserves names prefixed with ‘gr_’.
The header file ‘limits.h’ reserves names suffixed with ‘_MAX’.

The header file ‘pwd.h’ reserves names prefixed with ‘pw_’.
The header file ‘signal.h’ reserves names prefixed with ‘sa_’ and ‘SA_’.
The header file ‘sys/stat.h’ reserves names prefixed with ‘st_’ and ‘S_’.
The header file ‘sys/times.h’ reserves names prefixed with ‘tms_’.
The header file ‘termios.h’ reserves names prefixed with ‘c_’, ‘V’, ‘I’, ‘O’, and ‘TC’;



LC_
E_
SIG_
......

你可能感兴趣的:(C++,c,C#,F#)