diff options
author | ptrcnull <git@ptrcnull.me> | 2022-02-02 02:39:57 +0100 |
---|---|---|
committer | ptrcnull <git@ptrcnull.me> | 2022-02-02 02:39:57 +0100 |
commit | 391b2706c6fc5aedf1881743efa2d0912eefe04a (patch) | |
tree | 7a65b69a4e9a011c1db21281a45534c17d309247 /libgcompat | |
parent | 8af2ff25620082c5fe275f1fd0d20b0a52dca0c0 (diff) | |
download | gcompat-391b2706c6fc5aedf1881743efa2d0912eefe04a.tar.gz gcompat-391b2706c6fc5aedf1881743efa2d0912eefe04a.tar.bz2 gcompat-391b2706c6fc5aedf1881743efa2d0912eefe04a.tar.xz gcompat-391b2706c6fc5aedf1881743efa2d0912eefe04a.zip |
unistd: add __close
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); +} |