summaryrefslogtreecommitdiff
path: root/src/unistd/isatty.c
blob: 1b502d75a37ef28c145f204d407403fde57544c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "stddef.h"
#include "sys/types.h"
#include <unistd.h>
#include "errno.h"
#include "nonstd/syscall.h"

int isatty(int fildes)
{
	SYSCALL("isatty", int, -1, fildes, 0, 0, 0, 0, 0);
}
/*
POSIX(1)
*/