Linux C/C++编程手册查阅方法
2015-08-04 00:00
661 查看
Linux C/C++编程手册查阅方法
时间:2015-02-28 21:37
作者:
lsgxeva
分类:
工作学习>>linux>>server
摘要:
Linux C/C++编程手册查阅方法
标签:
Linux C/C++编程手册查阅方法
提示:
文章均来自网络,版权为原作者所有,如有侵犯权益,请联络我们.
Linux Programmer's Manual & User Commands https://www.kernel.org/doc/man-pages/ 搜索框输入epoll调用Google查找
相当于Google搜索 site:man7.org/linux/man-pages epoll ,可以直接收藏,方便下次搜索查看:
http://www.google.com.hk/#newwindow=1&q=site:man7.org+epoll
The Linux Kernel API https://www.kernel.org/doc/htmldocs/kernel-api/
The GNU C Library http://www.gnu.org/software/libc/manual/html_node/
使用man、info查看函数手册:
man epoll(Tab补全) 或 man -k epoll
man -k sleep 查看包含sleep的手册
man -f sleep 查看名为sleep的手册(多个序号)
man -a sleep 查看所有名为sleep的帮助信息
man 1 sleep 查看序号1的sleep
man 3 sleep 查看序号2的sleep
把man或info的信息存为文本文件:
man epoll | col -b > epoll.txt
info epoll -o epoll.txt -s
C++函数手册:
在线手册: http://gcc.gnu.org/onlinedocs/ http://www.cplusplus.com/reference/
离线手册:
sudo apt-get -y install libstdc++6-4.6-doc
file:///usr/share/doc/libstdc++6-4.6-doc/libstdc++/html/index.html
Google Site在线搜索:
http://www.google.com.tw/#newwindow=1&q=site:www.cplusplus.com%2Freference%2F+vector
像man一样查看手册cppman: https://github.com/aitjcize/cppman sudo apt-get install python-pip vim
sudo pip install cppman
cppman cout
cppman用法类似man,查询时能自动从cplusplus.com下载对应内容并转换成man pages.
cppman -c 从cplusplus.com上下载所有手册,耗时较长,但方便离线查看,不过一般是不需要的.
如果你喜欢IDE或者想把IDE当个备胎用的话,Linux上推荐 Eclipse IDE for C/C++ Developers 或者 Qt Creator。
来源: <http://my.oschina.net/eechen/blog/206443>
来自为知笔记(Wiz)
相关文章推荐
- Linux资源管理之cgroups简介
- linux tar命令
- linux编程常用的函数
- linux学习笔记 - 文档权限与目录配置
- 教你如何用Kali Linux制作windows 10安装优盘
- CentOS6下安装MySQL数据库服务
- linux 线程学习之条件变量
- Linux互通SSH免密码访问
- 关于重装系统后,Windows和Linux双系统只能进入一个的问题
- 扩展虚拟机内系统centos6.6硬盘空间
- Linux 开关中断系列函数探究
- Unix/linux进程及线程间同步技术总结【学习总结,请勿吐槽。。。】
- Linux写时拷贝技术(copy-on-write)
- centos 6实现ssh无密码登录的简便方法
- CentOS下使用文件构建swap
- 嵌入式linux之块设备驱动程序概念,框架
- linux tr命令详解
- Linux OOM killer 机制
- linux下虚拟文件系统
- Linux系统编程(1)——文件与I/O之C标准I/O函数与系统调用I/O