In this code, I am trying to write inotifyFunc(pathname, command). The pathname is declared in the function and the command variable should be for
inotifyFunc(pathname, command)
command variable