文件操作 - sem.h
返回文件管理
返回主菜单
删除本文件
文件: /usr/src/linux-headers-5.15.0-113/include/linux/sem.h
编辑文件内容
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_SEM_H #define _LINUX_SEM_H #include <uapi/linux/sem.h> struct task_struct; struct sem_undo_list; #ifdef CONFIG_SYSVIPC struct sysv_sem { struct sem_undo_list *undo_list; }; extern int copy_semundo(unsigned long clone_flags, struct task_struct *tsk); extern void exit_sem(struct task_struct *tsk); #else struct sysv_sem { /* empty */ }; static inline int copy_semundo(unsigned long clone_flags, struct task_struct *tsk) { return 0; } static inline void exit_sem(struct task_struct *tsk) { return; } #endif #endif /* _LINUX_SEM_H */
修改文件时间
将文件时间修改为当前时间的前一年
删除文件