[cs631apue] Question on user code and kernel code

Qilang Yang qyang5 at stevens.edu
Tue Sep 9 10:31:20 EDT 2014

The Linux *man-pages* project documents the Linux
<http://en.wikipedia.org/wiki/Linux> kernel
<http://www.kernel.org/pub/linux/kernel> and C library interfaces that are
employed by user-space programs. With respect to the C library, the primary
focus is the GNU <http://www.gnu.org/> C library (glibc
<http://www.gnu.org/software/libc/>), although, where known, documentation
of variations on other C libraries available for Linux is also included.
The project provides manual pages in the following sections:

   - 1: *User commands* <http://man7.org/linux/man-pages/dir_section_1.html>
   ; *man-pages* includes a very few Section 1 pages that document programs
   supplied by the GNU C library.
   - 2: *System calls*
<http://man7.org/linux/man-pages/dir_section_2.html> documents
   the system calls
<http://man7.org/linux/man-pages/man2/syscalls.2.html> provided
   by the Linux kernel.
   - 3: *Library functions*
   <http://man7.org/linux/man-pages/dir_section_3.html> documents the
   functions provided by the standard C library.
   - 4: *Devices* <http://man7.org/linux/man-pages/dir_section_4.html>
   details of various devices, most of which reside in /dev.
   - 5: *Files* <http://man7.org/linux/man-pages/dir_section_5.html> describes
   various file formats, and includes proc(5)
   <http://man7.org/linux/man-pages/man5/proc.5.html>, which documents the
   /proc file system.
   - 7: *Overviews, conventions, and miscellaneous*
   - 8: *Superuser and system administration commands*
   <http://man7.org/linux/man-pages/dir_section_8.html>; *man-pages* includes
   a very few Section 8 pages, mainly documenting programs supplied by the GNU
   C library.

That should answer your question I think.

On Mon, Sep 8, 2014 at 10:49 PM, xxu15 at stevens.edu <xxu15 at stevens.edu>

>  Hi,
> How to defferentiate between user code and kernel code ?
> Is there a standard to defferentiate the boundry of the two ? Or just the
> Unix designers/engineers defined the boundry ?
> Thank you.
> ------------------------------
>    Sincerely,
> Xiang Xu (徐祥)
> Student ID: 10388813
> tel: +1 (201) 918-0570
>       +86 13851478402
> qq: 185904095
> _______________________________________________
> cs631apue mailing list
> cs631apue at lists.stevens.edu
> https://lists.stevens.edu/mailman/listinfo/cs631apue
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.stevens.edu/pipermail/cs631apue/attachments/20140909/acfda951/attachment.html>

More information about the cs631apue mailing list