Once I wanted to see the definition of the time_t type, and initially wanted to find it directly in the/usr/include/time.h, but instead of going to the other one: __time_t (2 underscores),
The result goes to: __std_type __time_t_type __time_t;
Keep looking for: #define __TIME_T_TYPE __syscall_slong_type
Continue: # define __syscall_slong_type __squad_type
Last: # define __squad_type Long int
I faint: just want to check a time_t type, the result has been jumping so many times, is it necessary?
Depressed, suddenly thought, since the back is a macro, then I directly write a small program, and then, with GCC-E to see the final shape is not OK?
So:
#include <stdio.h><time.h>int main () { time_t hello; return 0 ;}
Then: gcc-e t.c > T.I
Then: Vim t.i
Haha: Direct search: time_t
Results: # define __squad_type Long int
Personal feeling relatively fast,:)
View the definition of a macro for a Linux system (alternative)