Elixir Cross Referencer - source file of Linux (version v6.11). Browsed file: /fs/proc/stat.c
int chmod __P((const char *, mode_t)); int fstat __P((int, struct stat *)); int mkdir __P((const char *, mode_t)); int mkfifo __P((const char *, mode_t)); int stat __P((const char *, struct stat *)); #ifndef _POSIX_SOURCE int fchmod __P((int, mode_t)); ...
用户也可以直接使用”|”将diff指令所输出的结果直接送给diffstat指令进行统计结果的显示。 使用该指令时,若所比较的文件或者子目录不在当前目录下,则应该使用其完整路径。 将目录”test1″和”test2″下的同名文件”testf.txt”使用diff指令进行比较。然后使用diffstat指令对结果进行统计显示,输入如下命令: $diff test...
Another compression program in Unix is bzip2, whose compressed files end with .bz2. While marginally slower than gzip, bzip2 often compacts text files a little more, and it is therefore increasingly popular in the distribution of source code. The decompressing program to use is bunzip2, and the...
#include<sys/mman.h>#include<sys/stat.h>#include<fcntl.h>#include<stdio.h>#include<stdlib.h>#include<unistd.h>intmain(){constchar*file_path="example.txt";constsize_t file_size=4096;// 文件大小为 4KB// 打开文件,如果文件不存在则创建int fd=open(file_path,O_RDWR|O_CREAT,S_IRUSR|S...
grep allows you to search files and output for keywords or patterns quickly. It’s invaluable for parsing logs, searching source code, matching regexes, and extracting data.12. awk – Pattern Scanning And Processing LanguageThe awk command allows more advanced text processing based on specified ...
Codeblitz 我知道了,不再自动展开 加入Gitee 与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :) 免费加入 已有帐号?立即登录 此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库:https://github.com/iovisor/bcc master ...
After making changes to the source code, you can then do the following to rebuild DXVK: # change to build.32 for 32-bit cd /your/target/directory/build.64 ninja install Compiling manually # 64-bit build. For 32-bit builds, replace # build-win64.txt with build-win32.txt meson setup...
*/ local_irq_disable(); } } static void do_kern_addr_fault(struct pt_regs *regs, unsigned long hw_error_code, unsigned long address) { WARN_ON_ONCE(hw_error_code & X86_PF_PK); #ifdef CONFIG_X86_32 if (!(hw_error_code & (X86_PF_RSVD | X86_PF_USER | X86_PF_PROT))) { ...
If we fixup a prefetch * fault we could otherwise deadlock: */ // 由于异常地址位于内核态,出发内核异常,因为 vmalloc 区的缺页异常,内核态的缺页异常 // 只能发生在 vmalloc 区,如果不是,那就是内核异常 bad_area_nosemaphore(regs, error_code, address, NULL); return; } /* kprobes don't want...