Hello World

Gcc编译选项 -E

如何查找 一个定义的 原定义 如查找 time_t的

写一个测试程序:

time.c

#include <time.h> int main(int argc, char** argv) {         time_t test;         return 0; }

gcc -E time.c | grep __time_t

__extension__ typedef long int __time_t;typedef __time_t time_t;    __time_t tv_sec;

posted @ 2011-04-13 09:56  Christina_Joe  阅读(170)  评论(0编辑  收藏  举报
Hello World