ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: sleep in ts7400

To: <>
Subject: Re: [ts-7000] Re: sleep in ts7400
From: "Michael" <>
Date: Fri, 4 Apr 2008 11:34:49 -0700
> jo_xavier18 <> [20080404 17:59:03 -0000]:
>>
>> The function sleep dont work
>>
>> #include <stdio.h>
>> #include <sys/time.h>
>> #include <unistd.h>
>> int main(){
>>     printf("teste");
>>     sleep(1);
>> }
>>   The output stays locked, don't shows "teste", but without sleep yes.

Try putting a newline at the end of your strings (e.g. "teste\n").
stdio is buffered, and typically doesn't flush until the end of the line.

> ___________________________________
> / None love the bearer of bad news. \
> |                                   |
> \ -- Sophocles                      /
> -----------------------------------
>        \   ^__^
>         \  (oo)\_______
>            (__)\       )\/\
>                ||----w |
>                ||     ||

Do you hand-pick your sayings to match the article, or do is the humor 
un-intentional? :)


 ______   Best Regards,
|__  __/                  Michael Schmidt
   ||                   Software Engineer
   ||echnologic Systems (EmbeddedARM.com)
   || (480)    16610 East Laser Drive #10
   |/ 837-5200   Fountain Hills, AZ 85268
       http://oz.embeddedarm.com/~michael 


------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU