函数逻辑报告 | 
Source Code:fs\read_write.c | 
Create Date:2022-07-29 10:31:20 | 
| Last Modify:2020-03-18 10:18:51 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:vfs_setpos - update the file offset for lseek*@file: file structure in question*@offset: file offset to seek to*@maxsize: maximum file size* This is a low-level filesystem helper for updating the file offset to* the value specified by @offset if the given
函数原型:loff_t vfs_setpos(struct file *file, loff_t offset, loff_t maxsize)
返回类型:loff_t
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct file * | file | |
| loff_t | offset | |
| loff_t | maxsize | 
| 56 | 如果offset小于0且非unsigned_offsets(file)则返回:负EINVAL | 
| 65 | 返回:offset | 
| 名称 | 描述 | 
|---|---|
| generic_file_llseek_size | generic_file_llseek_size - generic llseek implementation for regular files*@file: file structure to seek on*@offset: file offset to seek to*@whence: type of seek*@size: max size of this file in file system*@eof: offset used for SEEK_END position* This is | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |