About: Source:Hack 1.0/hack.ioctl.c   Sponge Permalink

An Entity of Type : owl:Thing, within Data Space : 134.155.108.49:8890 associated with source dataset(s)

Below is the full text to hack.ioctl.c from the source code of Hack 1.0. To link to a particular line, write [[Hack 1.0/hack.ioctl.c#line123]], for example. Warning! This is the source code from an old release. For the latest release, see Source code

AttributesValues
rdfs:label
  • Source:Hack 1.0/hack.ioctl.c
rdfs:comment
  • Below is the full text to hack.ioctl.c from the source code of Hack 1.0. To link to a particular line, write [[Hack 1.0/hack.ioctl.c#line123]], for example. Warning! This is the source code from an old release. For the latest release, see Source code
dcterms:subject
dbkwik:nethack/pro...iPageUsesTemplate
abstract
  • Below is the full text to hack.ioctl.c from the source code of Hack 1.0. To link to a particular line, write [[Hack 1.0/hack.ioctl.c#line123]], for example. Warning! This is the source code from an old release. For the latest release, see Source code 1. /* This cannot be part of hack.tty.c (as it was earlier) since on some 2. systems (e.g. MUNIX) the include files and 3. define the same constants, and the C preprocessor complains. */ 4. #include 5. #include "config.h" 6. #ifdef BSD 7. #include 8. struct ltchars ltchars, ltchars0; 9. #else 10. #include /* also includes part of */ 11. struct termio termio; 12. #endif BSD 13. 14. getioctls() { 15. #ifdef BSD 16. (void) ioctl(fileno(stdin), (int) TIOCGLTC, (char *) &ltchars); 17. (void) ioctl(fileno(stdin), (int) TIOCSLTC, (char *) &ltchars0); 18. #else 19. (void) ioctl(fileno(stdin), (int) TCGETA, &termio); 20. #endif BSD 21. } 22. 23. setioctls() { 24. #ifdef BSD 25. (void) ioctl(fileno(stdin), (int) TIOCSLTC, (char *) &ltchars); 26. #else 27. (void) ioctl(fileno(stdin), (int) TCSETA, &termio); 28. #endif BSD 29. } 30. 31.
Alternative Linked Data Views: ODE     Raw Data in: CXML | CSV | RDF ( N-Triples N3/Turtle JSON XML ) | OData ( Atom JSON ) | Microdata ( JSON HTML) | JSON-LD    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 07.20.3217, on Linux (x86_64-pc-linux-gnu), Standard Edition
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2012 OpenLink Software