diff options
| author | Ron Yorston <rmy@pobox.com> | 2015-05-18 09:36:27 +0100 |
|---|---|---|
| committer | Ron Yorston <rmy@pobox.com> | 2015-05-18 09:36:27 +0100 |
| commit | 60063627a6d540871061854a362047e6517f821c (patch) | |
| tree | 0de228630450c64e085f2e3f5141b5ba17eccab3 /libbb/missing_syscalls.c | |
| parent | ec39cb770ddd5c0e085d5c4ee10be65bab5e7a44 (diff) | |
| parent | 9a595bb36ded308e6d4336aef2c1cd3ac738a398 (diff) | |
| download | busybox-w32-FRP.tar.gz busybox-w32-FRP.tar.bz2 busybox-w32-FRP.zip | |
Merge branch 'busybox' into mergeFRP
Diffstat (limited to '')
| -rw-r--r-- | libbb/missing_syscalls.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libbb/missing_syscalls.c b/libbb/missing_syscalls.c index dd430e3e2..e3c1e924b 100644 --- a/libbb/missing_syscalls.c +++ b/libbb/missing_syscalls.c | |||
| @@ -39,4 +39,9 @@ int pivot_root(const char *new_root, const char *put_old) | |||
| 39 | { | 39 | { |
| 40 | return syscall(__NR_pivot_root, new_root, put_old); | 40 | return syscall(__NR_pivot_root, new_root, put_old); |
| 41 | } | 41 | } |
| 42 | |||
| 43 | int tcdrain(int fd) | ||
| 44 | { | ||
| 45 | return ioctl(fd, TCSBRK, 1); | ||
| 46 | } | ||
| 42 | #endif | 47 | #endif |
