diff options
author | Judd Vinet <judd@archlinux.org> | 2006-05-09 18:23:41 +0000 |
---|---|---|
committer | Judd Vinet <judd@archlinux.org> | 2006-05-09 18:23:41 +0000 |
commit | ddac836cdbb67ba5b89d21aa3b25a67919efeb88 (patch) | |
tree | 3370750a2d4285b90cade27eaa44647ea6c5309e /isatty.c | |
parent | dfb74ab60c8bb84f3e02d89cfe8127e55aeb7984 (diff) |
upgpkg: initscripts 0.7.20.7.2
Diffstat (limited to 'isatty.c')
-rw-r--r-- | isatty.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/isatty.c b/isatty.c new file mode 100644 index 0000000..bf815c5 --- /dev/null +++ b/isatty.c @@ -0,0 +1,6 @@ +#include <unistd.h> + +int main(int argc, char** argv) +{ + return !isatty(1); +} |