Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(155)

Side by Side Diff: native_client_sdk/src/libraries/nacl_io/include/sys/ioctl.h

Issue 23005005: [NaCl SDK] nacl_io: Add initial implementations of kill and signal (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | native_client_sdk/src/libraries/nacl_io/ioctl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright 2013 The Chromium Authors. All rights reserved. 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 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */ 3 * found in the LICENSE file. */
4 4
5 #ifndef LIBRARIES_NACL_IO_INCLUDE_SYS_IOCTL_H_ 5 #ifndef LIBRARIES_NACL_IO_INCLUDE_SYS_IOCTL_H_
6 #define LIBRARIES_NACL_IO_INCLUDE_SYS_IOCTL_H_ 6 #define LIBRARIES_NACL_IO_INCLUDE_SYS_IOCTL_H_
7 7
8 #include <sys/cdefs.h> 8 #include <sys/cdefs.h>
9 9
10 #define TIOCGWINSZ 0x5413
11 #define TIOCSWINSZ 0x5414
12
13 struct winsize {
14 unsigned short ws_row;
15 unsigned short ws_col;
16 unsigned short ws_xpixel;
17 unsigned short ws_ypixel;
18 };
19
10 __BEGIN_DECLS 20 __BEGIN_DECLS
11 21
12 int ioctl(int fd, unsigned long request, ...); 22 int ioctl(int fd, unsigned long request, ...);
13 23
14 __END_DECLS 24 __END_DECLS
15 25
16 #endif /* LIBRARIES_NACL_IO_INCLUDE_SYS_IOCTL_H_ */ 26 #endif /* LIBRARIES_NACL_IO_INCLUDE_SYS_IOCTL_H_ */
OLDNEW
« no previous file with comments | « no previous file | native_client_sdk/src/libraries/nacl_io/ioctl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698