Results 1 to 1 of 1
Hi,
i got problem with lnuma+fork+execvp+"ls". That is:
In my program i call functions from "libnuma" to find out which cpus are from which node. Therefore, i have to use ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-18-2013 #1Just Joined!
- Join Date
- Mar 2011
- Posts
- 9
Problem with lnuma+fork+execvp+ "ls"
Hi,
i got problem with lnuma+fork+execvp+"ls". That is:
In my program i call functions from "libnuma" to find out which cpus are from which node. Therefore, i have to use -lnuma during compiling.
Later fork is used to create a child process. In the child process i use "execvp" to execute an another program, such as "ls".
Then i got the error " ls: cannot access ���h2: Invalid argument". I don't know what are ���.
But if I call a normal probram which is written by me, there is no error.
What is that?


Reply With Quote
