mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-01 08:48:29 +00:00
Improve system call documentation
This change also introduces partial faccessat() support for zipos and makes some slight breaking changes in errno results. close() is fixed to use `EBADF` rather than `EINVAL` and we're now using `ENOTSUP` not `EOPNOTSUPP` to indicate that zipos doesn't support a system call yet
This commit is contained in:
parent
0b5f84dd20
commit
ad97775370
18 changed files with 273 additions and 67 deletions
|
@ -37,6 +37,7 @@ void __zipos_free(struct Zipos *, struct ZiposHandle *) hidden;
|
|||
ssize_t __zipos_parseuri(const char *, struct ZiposUri *) hidden;
|
||||
ssize_t __zipos_find(struct Zipos *, const struct ZiposUri *);
|
||||
int __zipos_open(const struct ZiposUri *, unsigned, int) hidden;
|
||||
int __zipos_access(const struct ZiposUri *, int) hidden;
|
||||
int __zipos_stat(const struct ZiposUri *, struct stat *) hidden;
|
||||
int __zipos_fstat(const struct ZiposHandle *, struct stat *) hidden;
|
||||
int __zipos_stat_impl(struct Zipos *, size_t, struct stat *) hidden;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue