Hi,
>For logging issues, does this help (putting it in main())?
> int devnullfd = -1;
>devnullfd = open("/dev/ttyS0", O_WRONLY);
> if ( devnullfd && dup2(devnullfd, STDOUT_FILENO) == -1)
>{
> printf("Cannot dup\n"); }
I  used this to run my application but printf statement not happening ,becoz
of the ia m unable to give user data..?

Thanks a lot,,,



The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments contained in it.

Contact your Administrator for further information.
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to