Re: Minor patches to sys_getcwd and fs/proc/inode.c

Andreas Schwab (schwab@issan.informatik.uni-dortmund.de)
03 Apr 1998 11:38:56 +0200


Jeremy Fitzhardinge <jeremy@zip.com.au> writes:

|> It might also be an idea to change its name. Well, the only user should
|> be the getcwd library function, but its very hard to use
|> __syscall2(getcwd, ...) with the standard getcwd() prototype in scope.

#define __NR_whatever __NR_getcwd
__syscall2(whatever, ...)

-- 
Andreas Schwab                                      "And now for something
schwab@issan.informatik.uni-dortmund.de              completely different"
schwab@gnu.org

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu