Function report |
Source Code:fs\open.c |
Create Date:2022-07-28 20:00:51 |
Last Modify:2020-03-18 10:16:03 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:do_sys_truncate
Proto:long do_sys_truncate(const char __user *pathname, loff_t length)
Type:long
Parameter:
Type | Parameter | Name |
---|---|---|
const char __user * | pathname | |
loff_t | length |
130 | retry : |
131 | error = user_path_at(Special value used to indicateopenat should use the currentworking directory. , pathname, lookup_flags, & path) |
132 | If Not error Then |
138 | Go to retry |
140 | Return error |
Name | Describe |
---|---|
SYSCALL_DEFINE2 | |
COMPAT_SYSCALL_DEFINE2 | |
SYSCALL_DEFINE2 | LFS versions of truncate are only needed on 32 bit machines |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |