The UNIX and Linux Forums
Forum Home
Linux and Unix Man Pages
Search Forums
Search Community Posts
Today's Posts
Quick Links
Man Pages
RedHat Commands
OpenSolaris Commands
Linux Commands
SunOS Commands
FreeBSD Commands
All UNIX Man Pages
All Linux Man Pages
Full Man Repository
Login or Register to Ask a Question and Join Our Community
Search Forums
Show Threads .
Show Posts
Tag Search
Advanced Search
Quick Links
Contact Us
Forum Rules
Today's Posts
FAQ
Pictures & Albums
All Albums
Miscellaneous
What is My IP
Whois
Mark Forums Read
Search Results
Showing results 1 to 2 of 2
Search took
0.02
seconds.
Search:
Posts Made By:
omega666
Forum:
Programming
03-14-2011
20
help with unix command exec1 in C
5,320
Posted By
Corona688
ls can tell the difference between a terminal and...
ls can tell the difference between a terminal and a pipe. ls | cat will do that too. In other words -- that's normal.
Remember that read() doesn't null-terminate for you -- it's a general purpose...
Forum:
Programming
03-14-2011
20
help with unix command exec1 in C
5,320
Posted By
Corona688
Now I know you don't try the code I post for you,...
Now I know you don't try the code I post for you, my version doesn't do that.
It's because, as stated above, read() doesn't add NULLs for you. This causes printf() to write more data than you...
Showing results 1 to 2 of 2
Member Badges and Information Modal
×