Thread: libs under linux

  1. #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--'.

  2. #2
    .
    Join Date
    Nov 2003
    Posts
    307
    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.

Popular pages Recent additions subscribe to a feed

Similar Threads

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