shithub: riscv

ref: 5b81e7de3f1ab3691438878cf1da912a54138d5f
dir: /sys/include/ape/sys/ioctl.h/

View raw version
#ifndef __IOCTL_H__
#define __IOCTL_H__

#ifndef _BSD_EXTENSION
    This header file is an extension to ANSI/POSIX
#endif

#ifdef __cplusplus
extern "C" {
#endif

/* FIONREAD: return number of bytes readable in *(long*)arg */
#define FIONREAD 1

int ioctl(int, unsigned long, void*);

#ifdef __cplusplus
}
#endif


#endif /* !__IOCTL_H__ */