diff options
author | Zach van Rijn <me@zv.io> | 2022-02-02 16:31:35 +0000 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2022-02-02 16:31:35 +0000 |
commit | 4d6a5156a6eb7f56b30d93853a872e36dadde81b (patch) | |
tree | 7a65b69a4e9a011c1db21281a45534c17d309247 /libgcompat | |
parent | 8af2ff25620082c5fe275f1fd0d20b0a52dca0c0 (diff) | |
parent | 391b2706c6fc5aedf1881743efa2d0912eefe04a (diff) | |
download | gcompat-4d6a5156a6eb7f56b30d93853a872e36dadde81b.tar.gz gcompat-4d6a5156a6eb7f56b30d93853a872e36dadde81b.tar.bz2 gcompat-4d6a5156a6eb7f56b30d93853a872e36dadde81b.tar.xz gcompat-4d6a5156a6eb7f56b30d93853a872e36dadde81b.zip |
Merge branch 'current' into 'current'
unistd: add __close
See merge request adelie/gcompat!14
Diffstat (limited to 'libgcompat')
-rw-r--r-- | libgcompat/unistd.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libgcompat/unistd.c b/libgcompat/unistd.c index e40fb6e..7e9227d 100644 --- a/libgcompat/unistd.c +++ b/libgcompat/unistd.c @@ -234,3 +234,8 @@ int execv(const char *pathname, char *const argv[]) { int execvp(const char *file, char *const argv[]) { return execv(file, argv); } + +int __close(int fd) +{ + return close(fd); +} |