文件操作 - nvram.h
返回文件管理
返回主菜单
删除本文件
文件: /usr/src/linux-headers-5.15.0-186/include/uapi/linux/nvram.h
编辑文件内容
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _UAPI_LINUX_NVRAM_H #define _UAPI_LINUX_NVRAM_H #include <linux/ioctl.h> /* /dev/nvram ioctls */ #define NVRAM_INIT _IO('p', 0x40) /* initialize NVRAM and set checksum */ #define NVRAM_SETCKS _IO('p', 0x41) /* recalculate checksum */ /* for all current systems, this is where NVRAM starts */ #define NVRAM_FIRST_BYTE 14 /* all these functions expect an NVRAM offset, not an absolute */ #define NVRAM_OFFSET(x) ((x)-NVRAM_FIRST_BYTE) #endif /* _UAPI_LINUX_NVRAM_H */
修改文件时间
将文件时间修改为当前时间的前一年
删除文件