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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | native_client_sdk/src/libraries/nacl_io/ioctl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: native_client_sdk/src/libraries/nacl_io/include/sys/ioctl.h
diff --git a/native_client_sdk/src/libraries/nacl_io/include/sys/ioctl.h b/native_client_sdk/src/libraries/nacl_io/include/sys/ioctl.h
index c4e0d1c84b3aa005f317f82871ba60a54d154e34..aa3774c69804aadfa604871e750abde26bce099b 100644
--- a/native_client_sdk/src/libraries/nacl_io/include/sys/ioctl.h
+++ b/native_client_sdk/src/libraries/nacl_io/include/sys/ioctl.h
@@ -7,6 +7,16 @@
#include <sys/cdefs.h>
+#define TIOCGWINSZ 0x5413
+#define TIOCSWINSZ 0x5414
+
+struct winsize {
+ unsigned short ws_row;
+ unsigned short ws_col;
+ unsigned short ws_xpixel;
+ unsigned short ws_ypixel;
+};
+
__BEGIN_DECLS
int ioctl(int fd, unsigned long request, ...);
« 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