using system calls (cwd) in kernel space
i am using the **getcwd()** function to get the current path. this works fine in the user space but when used in a kernel module gives the error as implicit declaration of the function. i have tried using **sys_getcwd** which was defined in the implementation of getcwd(in linux/unistd.h) but then there is an error
**implicit declaration of getcwd**
Plzz let me know how to use the same.. plz help its a little urgent.. thank you