source: trunk/libs/newlib/src/newlib/libc/sys/sysvi386/dup.c

Last change on this file was 444, checked in by satin@…, 6 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 77 bytes
Line 
1#include <fcntl.h>
2
3int
4dup (int fd1) {
5        return (fcntl (fd1, F_DUPFD, 0));
6}
Note: See TracBrowser for help on using the repository browser.