问题 I am trying to mount a source directory from nfs server to a destination directory in embedded board having linux. The following command works perfectly as expected in shell prompt in the board. mount -t nfs -o nolock 10.126.62.45:/vol/home/avinoba/Sky /mnt What is the equivalent system call to be used in program for the command above? I tried the below call but the mount failed with "Invalid Argument" if(mount("10.126.62.45:/vol/home/avinoba/Sky","/mnt","nfs",MS_MGC_VAL,"nolock") == -1) {