• 微软原版系统

  • 一键重装系统

  • 纯净系统

  • 在线技术客服

魔法猪系统重装大师 一键在线制作启动 U 盘 PE 系统 用一键重装的魔法拯救失去灵魂的系统
当前位置:首页 > 教程 > 电脑教程

Linux下C语言编程有困难找man

时间:2015年04月02日 15:43:25    来源:魔法猪系统重装大师官网    人气:15711

 Linux 下编程最痛苦的是什么?是语法?是编译器?是函数?我感觉是一堆C函数而且还没有参考。。。本来想买本书,可是觉得总是翻书又不方便,于是就查了一下,原来强大的男人(man)也可以用来查看C函数。

Ubuntu 默认安装的只是命令的 man

我们先来查看一下最初的man,执行以下命令:

 

man man
可以看到

 

 

The table below shows the section numbers of the manual followed by the

types of pages they contain.
1 Executable programs or shell commands
2 System calls (functions provided by the kernel)
3 Library calls (functions within program libraries)
4 Special files (usually found in /dev)
5 File formats and conventions eg /etc/passwd
6 Games
7 Miscellaneous (including macro packages and conven‐ tions), e.g. man(7), groff(7)
8 System administration commands (usually only for root) 9 Kernel routines [Non standard] A manual page consists of several sections.
可是在Linux 下编写 C 程序时,又很多的C函数,肯定是记不住的。所以有一个简单而且免费的方法可以实现:

 

在终端下输入以下命令,就可以下载C函数的man了。

 

#apt-get install manpages-dev#apt-get install manpages-posix-dev
OK,本来还打算买本 Linux C 函数参考手册的,现在不用了。:D

 

最后,再次感谢强大的man!

Linux,下,语言编程,有,困,难找,man,Linux,
栏目:电脑教程 阅读:1000 2023/12/27
Win7教程 更多>>
U盘教程 更多>>
Win10教程 更多>>
魔法猪学院 更多>>

Copyright © 2015-2023 魔法猪 魔法猪系统重装大师

本站发布的系统仅为个人学习测试使用,请在下载后24小时内删除,不得用于任何商业用途,否则后果自负,请支持购买微软正版软件。

在线客服 查看微信 返回顶部