Querying the C function with the man command in Linux

Source: Internet
Author: User
Tags function prototype

We all know that there is a man command in Unix/linux, you can query common commands, functions. But for us, we only know how to use"man function number"to query people, will encounter a lot of problems, such as: Man read, I want to see the ANSI C stdio of the Read function prototype and description, did not expect to come out is indeed the description of the Bash command, this is how it? The original read itself is a parameter of the man command, so input man will think you want to use the Read function, instead of looking at the read function, then how to view the Read function??the answer is to use: man2Read or a man3what does the number in the middle of the read mean? Is the number of the man, the original man is divided into many parts, respectively:1user commands, which can be initiated by anyone. 2system calls, which are functions provided by the kernel. 3Routines , that is, library functions, such as standard C library libc. 4equipment, i.e./special files under the dev directory. 5File format description, such as/etc/passwd. 6game, no explanation! 7Miscellaneous, such as macro command packages, conventions, and so on. 8System Administrator tool, can only be started by root. 9Other (Linux-specific) documents used to store kernel routines. N new documents, you may want to move to a more appropriate area. o old documents may be retained for a period of time.       L Local documentation, related to this particular system.   To find out which part of the section, use which part of the number before the command. In addition, in Ubuntu can install the Chinese man, will not be able to Google under
http://blog.csdn.net/aniao/article/details/5168525

Querying the C function with the man command in Linux

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.