LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 03-02-2007, 03:49 PM   #1
spank
Member
 
Registered: Aug 2003
Location: Romania
Distribution: Ubuntu 6.06
Posts: 278

Rep: Reputation: 30
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 ?
 
Old 03-03-2007, 11:42 AM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 77
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....
 
Old 03-03-2007, 12:18 PM   #3
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,164

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
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.
 
Old 03-03-2007, 12:32 PM   #4
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 77
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
__syscall_return macro in unistd.h havokdrums Linux - Kernel 0 11-11-2006 06:19 AM
Wireless and Ethereal, only receiving "other" packet types agoln Linux - Wireless Networking 0 11-07-2005 03:12 AM
wat does <sys/types.h> mean? 9488 Programming 1 10-01-2005 03:40 PM
how many packet types can travel on Ethernet network? linux_lover2005 Linux - Networking 1 01-23-2005 01:36 AM
Packet Types on Linux as well as Windows cranium2004 Linux - Networking 1 01-06-2005 08:31 PM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration