在哪里sys / stat。h位于Linux (Ubuntu 12.04)?

时间:2022-11-06 16:13:44

I am using Ubuntu 12.04, and I used to see #include , I want to see the implementation code of sys/stat.h. But I don not know where it is. By the way, I can not find it in /usr/include directory.

我正在使用Ubuntu 12.04,我曾经看到#include,我想看到sys/ state .h的实现代码。但我不知道它在哪里。顺便说一下,我在/usr/include目录中找不到它。

1 个解决方案

#1


3  

on my machine there are

在我的机器上有

    /usr/include/x86_64-linux-gnu/sys/stat.h
    /usr/lib/syslinux/com32/include/sys/stat.h

I think the first one is what you are looking for? it comes with gnu gcc I think

我想第一个就是你要找的?我认为它是gnu gcc附带的

#1


3  

on my machine there are

在我的机器上有

    /usr/include/x86_64-linux-gnu/sys/stat.h
    /usr/lib/syslinux/com32/include/sys/stat.h

I think the first one is what you are looking for? it comes with gnu gcc I think

我想第一个就是你要找的?我认为它是gnu gcc附带的