KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
ioctl.h
Go to the documentation of this file.
1/* KallistiOS ##version##
2
3 sys/ioctl.h
4 Copyright (C) 2024 Andress Barajas
5
6*/
7
8/** \file sys/uio.h
9 \brief Header for terminal control operations.
10 \ingroup vfs_posix
11
12 This file contains definitions for terminal control operations, as specified by
13 the POSIX standard. It includes necessary constants and macros for performing
14 various control operations on terminals using the ioctl system call.
15
16 \author Andress Barajas
17*/
18
19#ifndef __SYS_IOCTL_H
20#define __SYS_IOCTL_H
21
22#include <sys/termios.h>
23
24#include <sys/cdefs.h>
25
26__BEGIN_DECLS
27
28#include <kos/fs.h>
29
30#ifndef TCGETS
31#define TCGETS 0x5401
32#endif
33
34#ifndef TIOCGETA
35#define TIOCGETA TCGETS
36#endif
37
38/* Define ioctl as an alias for fs_ioctl */
39#define ioctl fs_ioctl
40
41__END_DECLS
42
43#endif /* __SYS_IOCTL_H */
Virtual filesystem support.
Header for terminal I/O control.