1

On a 16.04 instance, I got the list of system calls using man syscalls. Most system calls have their own man page but a few do not:

$ man fremovexattr
No manual entry for fremovexattr

Ubuntu's website does have a manpage for that system call: http://manpages.ubuntu.com/manpages/wily/man2/lremovexattr.2.html

My question is what could possibly be the reason for not including the man pages for certain system calls?

  • The man page should be in /usr/share/man/man2/fremovexattr.2.gz - if this exists then perhaps you need to update the man page index using 'sudo mandb' – Colin Ian King Aug 24 '17 at 22:02
  • That file does not exist so my question still stands but I did learn a new command. Thanks! – catanman Aug 24 '17 at 22:06
  • Its helps to me to use some basic ls, grep on man pages on its directory – EsmaeelE Aug 24 '17 at 23:14
1

You need to install libattr1-dev to get those specific man pages:

sudo apt-get install libattr1-dev
  • That doesn't directly answer the question but it did lead me down the right path. From apt-cache show libattr1-dev: Description-en: attr-dev contains the libraries and header files needed to develop programs which make use of extended attributes. For Linux programs, the documented system call API is the recommended interface, but an SGI IRIX compatibility interface is also provided. So I guess some system calls are not ready to be used out of the box, which explains why the man pages are missing. – catanman Aug 24 '17 at 22:17
  • I also found this similar post: askubuntu.com/questions/714114/… – catanman Aug 24 '17 at 22:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.