diff options
| author | Bernard Xiong <[email protected]> | 2023-04-08 22:25:51 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-04-08 22:25:51 +0800 |
| commit | 9600b75b55dace1c4efef8551059df3d673b21ad (patch) | |
| tree | b1c175f5021b89513255a7fb7e63a5039e2dfbee /documentation | |
| parent | 7fbe8bbd494689cc0cc2be9c5a3eff1c916be38a (diff) | |
[DFS] prepare for dfs_v2.0 (#7200)
* [DFS] prepare for dfs_v2. dfs_fd -> dfs_file; dfs_fnode -> dfs_vnode.
* [BSP] fix code analysis warning
* [smart] fix the pointer overflow.
* code format
* [smart] fix the lwp->lwp_obj checking.
Diffstat (limited to 'documentation')
| -rw-r--r-- | documentation/sal/sal.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/documentation/sal/sal.md b/documentation/sal/sal.md index e4a9a58e74..8e768f4f06 100644 --- a/documentation/sal/sal.md +++ b/documentation/sal/sal.md @@ -685,7 +685,7 @@ struct sal_socket_ops int (*getsockname)(int s, struct sockaddr *name, socklen_t *namelen); int (*ioctlsocket)(int s, long cmd, void *arg); #ifdef SAL_USING_POSIX - int (*poll) (struct dfs_fd *file, struct rt_pollreq *req); + int (*poll) (struct dfs_file *file, struct rt_pollreq *req); #endif }; @@ -732,7 +732,7 @@ The following is the access registration process implemented by AT Socket networ #ifdef SAL_USING_AT /* A custom poll execution function that handles the events received in the poll */ -static int at_poll(struct dfs_fd *file, struct rt_pollreq *req) +static int at_poll(struct dfs_file *file, struct rt_pollreq *req) { int mask = 0; struct at_socket *sock; |
