LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   What is the packet for unistd.h sys/types.h ? (https://www.linuxquestions.org/questions/linux-newbie-8/what-is-the-packet-for-unistd-h-sys-types-h-534005/)

spank 03-02-2007 02:49 PM

What is the packet for unistd.h sys/types.h ?
 
I don't know how to install the libraries on an ubuntu. What are the packages i need to install ?

bulliver 03-03-2007 10:42 AM

Hi spank.

unistd.h and types.h are part of the Linux kernel source. Try /usr/src/linux or www.kernel.org

Quote:

I don't know how to install the libraries on an ubuntu
Using synaptics is probably the easiest way. See this anyway: https://help.ubuntu.com/6.10/ubuntu/...lications.html

Quote:

What are the packages i need to install ?
To do what? Please explain more....

btmiller 03-03-2007 11:18 AM

Actually unistd.h etc. are user (libc) header files. not kernel headers. On my Debian Etch system (closest thing to Ubuntu I have easy access to), these are provided by the libc6-dev package.

bulliver 03-03-2007 11:32 AM

Quote:

Actually unistd.h etc. are user (libc) header files. not kernel headers.
I guess they are both:
/usr/src/linux/include/asm-*/unistd.h
/usr/src/linux/include/asm-*/types.h

In any event, it would seem that you are correct, as the OP is looking for a library...

From glibc:
/usr/include/sys/unistd.h
/usr/include/sys/types.h


All times are GMT -5. The time now is 05:35 PM.