2001-03-05 22:29:24 +01: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-17 20:38:33 +01: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
|
|
|
|
|
|
|
|
int ioctl (int __fd, int __cmd, void *);
|
|
|
|
|
|
|
|
__END_DECLS
|
|
|
|
|
|
|
|
#endif
|