C Board  

Go Back   C Board > Platform Specific Boards > Linux Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 08-21-2005, 05:34 AM   #1
EOF
 
Join Date: Aug 2005
Location: Constanta, RO, Europe
Posts: 46
libs under linux

i don't know if i posted this where i should so don't pick on me for it.

i use a debian without xserver. i've got gcc with apt, but it seems it doesn't include many (probably all) headers. any ideas?

also, i'd like to know if there is a function that creates a set delay, and in what header is it.

i'm new to *x programming so don't blame me.
__________________
Two strings walk into a bar. The first one says, 'Bartender! Bartender! I want a drink!'. The second one says, 'Bartender! Bartender! I want a drink too! Blaaaaaaaaah eeeeeeeek yaaaaaaak oooooooh'. The first one says, 'Please excuse my friend. He isn't null term--'.
moonlord is offline   Reply With Quote
Old 08-22-2005, 09:26 AM   #2
.
 
Join Date: Nov 2003
Posts: 293
usleep(), sleep() - in unistd.h, assuming you want your program to wait a for a minimum period. No "wait" is guaranteed to end exactly when you specify, it is only guaranteed to be a minimum wait of that duration. It may wait longer. Due to OS scheduling.

headers are in the /usr/include tree. Check there first.
If you've done an install of any software by compile rather than apt, then gcc probably works fine.

Last edited by jim mcnamara; 08-22-2005 at 09:39 AM.
jim mcnamara is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Thinking of upgrading to linux... Yarin General Discussions 37 07-24-2009 11:40 AM
Wireless Network Linux & C Testbed james457 Networking/Device Communication 3 06-11-2009 11:03 AM
How do I make shared libs on Linux? cpjust C Programming 13 11-05-2007 04:54 PM
installing linux for the first time Micko Tech Board 9 12-06-2004 05:15 AM


All times are GMT -6. The time now is 03:31 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22