2001-03-06 05:29:24 +08:00
|
|
|
/* sys/ioctl.h
|
|
|
|
|
|
|
|
Copyright 1998, 2001 Red Hat, Inc.
|
|
|
|
|
|
|
|
This file is part of Cygwin.
|
|
|
|
|
|
|
|
This software is a copyrighted work licensed under the terms of the
|
|
|
|
Cygwin license. Please consult the file "CYGWIN_LICENSE" for
|
|
|
|
details. */
|
|
|
|
|
2000-02-18 03:38:33 +08:00
|
|
|
/* sys/ioctl.h */
|
|
|
|
|
|
|
|
#ifndef _SYS_IOCTL_H
|
|
|
|
#define _SYS_IOCTL_H
|
|
|
|
|
|
|
|
#include <sys/cdefs.h>
|
|
|
|
|
|
|
|
/* /dev/windows ioctls */
|
|
|
|
|
|
|
|
#define WINDOWS_POST 0 /* Set write() behavior to PostMessage() */
|
|
|
|
#define WINDOWS_SEND 1 /* Set write() behavior to SendMessage() */
|
|
|
|
#define WINDOWS_HWND 2 /* Set hWnd for read() calls */
|
|
|
|
|
|
|
|
__BEGIN_DECLS
|
|
|
|
|
2002-01-06 17:28:13 +08:00
|
|
|
int ioctl (int __fd, int __cmd, ...);
|
2000-02-18 03:38:33 +08:00
|
|
|
|
|
|
|
__END_DECLS
|
|
|
|
|
|
|
|
#endif
|