system call mknod() failing with errno 2 on ubuntu
C / C++ / MFC
2
Posts
2
Posters
1
Views
1
Watching
-
mknod(pItem->handler,(S_IRWXU|S_IRWXG|S_IRWXO|S_IFCHR),MKDEV(pItem->nMajor,pItem->nMinor)) is failing with errno 2. Here handler is ~/seq. However I'm running the program with super user. Any Help would be appreciated. Thanks, Sunil
-
mknod(pItem->handler,(S_IRWXU|S_IRWXG|S_IRWXO|S_IFCHR),MKDEV(pItem->nMajor,pItem->nMinor)) is failing with errno 2. Here handler is ~/seq. However I'm running the program with super user. Any Help would be appreciated. Thanks, Sunil