Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / native_client_sdk / src / libraries / nacl_io / include / sys / ioctl.h
blobaa3774c69804aadfa604871e750abde26bce099b
1 /* Copyright 2013 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */
5 #ifndef LIBRARIES_NACL_IO_INCLUDE_SYS_IOCTL_H_
6 #define LIBRARIES_NACL_IO_INCLUDE_SYS_IOCTL_H_
8 #include <sys/cdefs.h>
10 #define TIOCGWINSZ 0x5413
11 #define TIOCSWINSZ 0x5414
13 struct winsize {
14 unsigned short ws_row;
15 unsigned short ws_col;
16 unsigned short ws_xpixel;
17 unsigned short ws_ypixel;
20 __BEGIN_DECLS
22 int ioctl(int fd, unsigned long request, ...);
24 __END_DECLS
26 #endif /* LIBRARIES_NACL_IO_INCLUDE_SYS_IOCTL_H_ */