>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..?
Have you fixed it ?

Karthik Balaguru
This email may contain confidential or privileged information for the intended recipient(s). If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system. Thanks

______________________________________________________________________
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to