Loop for 7 minutes in c using while and sleep function [on hold]












0















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










share|improve this question









New contributor




Oussama Pas Plus is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











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.





















    0















    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










    share|improve this question









    New contributor




    Oussama Pas Plus is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.











    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.



















      0












      0








      0








      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










      share|improve this question









      New contributor




      Oussama Pas Plus is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      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






      share|improve this question









      New contributor




      Oussama Pas Plus is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question









      New contributor




      Oussama Pas Plus is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question








      edited 7 hours ago









      Sergiy Kolodyazhnyy

      72.3k9150316




      72.3k9150316






      New contributor




      Oussama Pas Plus is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 7 hours ago









      Oussama Pas PlusOussama Pas Plus

      11




      11




      New contributor




      Oussama Pas Plus is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Oussama Pas Plus is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Oussama Pas Plus is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




      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.






















          0






          active

          oldest

          votes

















          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes

          Popular posts from this blog

          數位音樂下載

          When can things happen in Etherscan, such as the picture below?

          格利澤436b