17

I found this accidentally.

I just typed man fork, and instead of showing the system call documentation, it showed to me an awk extension, however, the section page number was 3am, instead of just 3.

What does 3am means?

17

It appears to be the manual page for a GNU Awk (gawk) extension module. The complete list is:

$ find /usr/share/man/man3 -name '*3am*' | xargs dpkg -S
gawk: /usr/share/man/man3/readfile.3am.gz
gawk: /usr/share/man/man3/inplace.3am.gz
gawk: /usr/share/man/man3/ordchr.3am.gz
gawk: /usr/share/man/man3/revoutput.3am.gz
gawk: /usr/share/man/man3/readdir.3am.gz
gawk: /usr/share/man/man3/filefuncs.3am.gz
gawk: /usr/share/man/man3/revtwoway.3am.gz
gawk: /usr/share/man/man3/time.3am.gz
gawk: /usr/share/man/man3/rwarray.3am.gz
gawk: /usr/share/man/man3/fork.3am.gz
gawk: /usr/share/man/man3/fnmatch.3am.gz

I would guess the am stands for awk module.

  • 1
    In general, section 3 of the manual contains entries for library calls, which seems appropriate for gawk libraries, whereas fork() is carried out by the kernel and is therefore documented in section 2. – Kusalananda Mar 25 at 13:30
  • 2
    Yeah it seems that some libraries or "man page extensions" adds a postfix to the man page section number. In my system I've some prefixes like cpp, ssl or perl. – Peregring-lk Mar 25 at 15:09

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.