2006-08-08 16:33:33 +04:00
|
|
|
/*
|
2012-07-19 22:11:40 +04:00
|
|
|
* Copyright 2006-2012 Haiku, Inc. All Rights Reserved.
|
2006-08-08 16:33:33 +04:00
|
|
|
* Distributed under the terms of the MIT License.
|
2002-07-12 13:29:46 +04:00
|
|
|
*/
|
|
|
|
#ifndef _SYS_IOCTL_H
|
|
|
|
#define _SYS_IOCTL_H
|
|
|
|
|
2010-11-04 00:46:47 +03:00
|
|
|
|
2009-05-29 00:16:35 +04:00
|
|
|
#include <termios.h>
|
|
|
|
|
2006-08-08 16:33:33 +04:00
|
|
|
/* These only work on sockets for now */
|
|
|
|
#define FIONBIO 0xbe000000
|
|
|
|
#define FIONREAD 0xbe000001
|
2002-10-25 18:43:27 +04:00
|
|
|
|
2020-11-07 14:02:58 +03:00
|
|
|
#define FIOSEEKDATA 0xbe000002
|
|
|
|
#define FIOSEEKHOLE 0xbe000003
|
|
|
|
|
2006-08-08 16:33:33 +04:00
|
|
|
#endif /* _SYS_IOCTL_H */
|