Loop for 7 minutes in c using while and sleep function [on hold]
Want to loop to some time using while and sleep but sleep function never returns 1. What to do ?
To loop to some time using
while(sleep(5)) {
Code
}
Language c
suspend c
New contributor
put on hold as off-topic by Sergiy Kolodyazhnyy, steeldriver, fkraiem, waltinator, karel 32 mins ago
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – Sergiy Kolodyazhnyy, steeldriver, fkraiem, waltinator, karel
If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |
Want to loop to some time using while and sleep but sleep function never returns 1. What to do ?
To loop to some time using
while(sleep(5)) {
Code
}
Language c
suspend c
New contributor
put on hold as off-topic by Sergiy Kolodyazhnyy, steeldriver, fkraiem, waltinator, karel 32 mins ago
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – Sergiy Kolodyazhnyy, steeldriver, fkraiem, waltinator, karel
If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |
Want to loop to some time using while and sleep but sleep function never returns 1. What to do ?
To loop to some time using
while(sleep(5)) {
Code
}
Language c
suspend c
New contributor
Want to loop to some time using while and sleep but sleep function never returns 1. What to do ?
To loop to some time using
while(sleep(5)) {
Code
}
Language c
suspend c
suspend c
New contributor
New contributor
edited 7 hours ago
Sergiy Kolodyazhnyy
72.3k9150316
72.3k9150316
New contributor
asked 7 hours ago
Oussama Pas PlusOussama Pas Plus
11
11
New contributor
New contributor
put on hold as off-topic by Sergiy Kolodyazhnyy, steeldriver, fkraiem, waltinator, karel 32 mins ago
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – Sergiy Kolodyazhnyy, steeldriver, fkraiem, waltinator, karel
If this question can be reworded to fit the rules in the help center, please edit the question.
put on hold as off-topic by Sergiy Kolodyazhnyy, steeldriver, fkraiem, waltinator, karel 32 mins ago
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – Sergiy Kolodyazhnyy, steeldriver, fkraiem, waltinator, karel
If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |
add a comment |
0
active
oldest
votes
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes