types.h头文件中定义了一些数据类型,通常来说该文件应该是位于usr/include/bits 路径下的,但是ubuntu 12.04lts下却是找不到bits文件夹的,其位置被放到了:x86_64-linux-gnu文件夹下,同理还有一大堆其他头文件(例如网络相关的头文件)
a.out.h inf.h mqueue2.h setjmp2.h stdio.h types.h
byteswap.h in.h mqueue.h setjmp.h stdio-ldbl.h typesizes.h
cmathcalls.h initspin.h msq.h shm.h stdio_lim.h uio.h
confname.h ioctls.h nan.h sigaction.h stdio-lock.h unistd.h
dirent.h ioctl-types.h netdb.h sigcontext.h stdlib.h ustat.h
dlfcn.h ipc.h poll.h siginfo.h stdlib-ldbl.h utmp.h
elfclass.h ipctypes.h posix1_lim.h signum.h string2.h utmpx.h
endian.h libc-lock.h posix2_lim.h sigset.h string3.h utsname.h
environments.h libio-ldbl.h posix_opt.h sigstack.h string.h waitflags.h
errno.h link.h predefs.h sigthread.h stropts.h waitstatus.h
error.h locale.h printf-ldbl.h sockaddr.h syscall.h wchar2.h
fcntl2.h local_lim.h pthreadtypes.h socket2.h sys_errlist.h wchar.h
fcntl.h mathcalls.h resource.h socket.h syslog.h wchar-ldbl.h
fenv.h mathdef.h sched.h stab.def syslog-ldbl.h wordsize.h
fenvinline.h math-finite.h select2.h statfs.h syslog-path.h xopen_lim.h
huge_valf.h mathinline.h select.h stat.h termios.h xtitypes.h
huge_val.h mman.h semaphore.h statvfs.h time.h
huge_vall.h monetary-ldbl.h sem.h stdio2.h timex.h
28 ubuntu的bits/types.h 等头文件位置,布布扣,bubuko.com
28 ubuntu的bits/types.h 等头文件位置
原文:http://blog.csdn.net/alloyinrunning/article/details/23252581