Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in C only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
C
what header file is used for sleep( )
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
LKavitha4
New Member
Join Date:
Jan 2007
Posts:
3
#1
what header file is used for sleep( )
Feb 8 '07, 02:35 AM
hi,
Please tell me what header file is used for sleep ( ) function in linux c++.
Thank you.
rajesh6695
New Member
Join Date:
Oct 2006
Posts:
96
#2
Feb 8 '07, 03:53 AM
Try Dos.h but it is compatible for dos and unix....
Comment
Post
Cancel
LKavitha4
New Member
Join Date:
Jan 2007
Posts:
3
#3
Feb 9 '07, 09:31 AM
Originally posted by
rajesh6695
Try Dos.h but it is compatible for dos and unix....
yes sleep( ) works in dos.h for turbo c but i need header file for working in linux c.
Comment
Post
Cancel
macklin01
New Member
Join Date:
Aug 2005
Posts:
145
#4
Feb 9 '07, 10:14 AM
Have you tried unistd.h? -- Paul
Comment
Post
Cancel
Anbarasan
New Member
Join Date:
Sep 2007
Posts:
2
#5
Sep 28 '07, 06:13 AM
Hi Kavitha
Please use <unistd.h> in unix for sleep() function header file.
Thanks
Anbarasan Seethapthy
Comment
Post
Cancel
Sriram raghav
New Member
Join Date:
Oct 2010
Posts:
1
#6
Oct 27 '10, 03:52 PM
pls tel me the basic header file for unix using C
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment