Search Results

Search: Posts Made By: eldaran
Forum: Programming 05-13-2008
3,974
Posted By eldaran
it works for some commands for example pwd,...
it works for some commands for example pwd, ifconfig, netstat, etc; but it does not get some answers such as "No such file or directory" when I used "gcc nonExistent.c" or "route help".
Any ideas?
Forum: Programming 05-13-2008
3,974
Posted By eldaran
thanks for answering
thanks for answering
Forum: Programming 05-12-2008
3,974
Posted By eldaran
Instead of what? I do not create or open a...
Instead of what?
I do not create or open a file. All I need is to get the answer of any command from the command line into a string, "pwd" is just an example.

Can you please give a simple...
Forum: Programming 05-12-2008
3,974
Posted By eldaran
How do I get system answer in c
How do I get the answer of a system call that is printed in the terminal?

for example:

I execute system("pwd");
and get the answer /home/user/

But because I need to send this result to...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 01:32 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy