What is the proper #include for the function 'sleep()'?

后端 未结 5 989
北海茫月
北海茫月 2020-11-28 23:09

I am using the Big Nerd Ranch book Objective-C Programming, and it starts out by having us write in C in the first few chapters. In one of my programs it has me create, I us

5条回答
  •  無奈伤痛
    2020-11-28 23:28

    The sleep man page says it is declared in .

    Synopsis:

    #include 
    

    unsigned int sleep(unsigned int seconds);

提交回复
热议问题