在 shell 程式中,最常使用的 FD (file descriptor) 大概有三个, 分别是: 0: Standard Input (STDIN) 1: Standard Output (STDOUT) 2: Standard Error Output (STDERR) 在标准情况下, 这些FD分别跟如下设备关联: stdin(0): keyboard 键盘输入,并返回
#ifdef __cplusplus extern "C" { #endif //函数声明 #ifdef __cplusplus } #endif main:first.o second.o gcc -lstdc++ first.o second.o -o main first.o:
DebugRel Setting Target 1 2 3 4 没设(runtime settings) 5 6 7 Language settings 1 2 3 4 5 Linker linker output: simple, ro base 0x300
内核输出屏蔽 Linux2.6.37 Kernel/printk.c 屏蔽内核输出 #define DEFAULT_CONSOLE_LOGLEVEL 7 修改为 #define DEFAULT_CONSOLE_LOGLEVEL 0 查看echo /proc/sys/kernerl/printk 修改移植好的文件系统中修改 rcS&nb
Linux2.6.37音频更改 #include <sound/s3c24xx_uda134x.h> #include <sound/uda134x.h> struct s3c24x
Copyright © 2005-2025 51CTO.COM 版权所有 京ICP证060544号