mirror of
https://github.com/apache/nuttx.git
synced 2026-10-08 14:55:18 +00:00
Socket interface: Added close() interface.
This commit is contained in:
parent
0c840ed22f
commit
833ee2275d
8 changed files with 760 additions and 628 deletions
|
|
@ -118,6 +118,7 @@ struct sock_intf_s
|
|||
CODE ssize_t (*si_recvfrom)(FAR struct socket *psock, FAR void *buf,
|
||||
size_t len, int flags, FAR struct sockaddr *from,
|
||||
FAR socklen_t *fromlen);
|
||||
CODE int (*si_close)(FAR struct socket *psock);
|
||||
};
|
||||
|
||||
/* This is the internal representation of a socket reference by a file
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue