About: Source:Hack 1.0/hack.stat.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.stat.c from the source code of Hack 1.0. To link to a particular line, write [[Hack 1.0/hack.stat.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.stat.c
rdfs:comment
  • Below is the full text to hack.stat.c from the source code of Hack 1.0. To link to a particular line, write [[Hack 1.0/hack.stat.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.stat.c from the source code of Hack 1.0. To link to a particular line, write [[Hack 1.0/hack.stat.c#line123]], for example. Warning! This is the source code from an old release. For the latest release, see Source code 1. /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1984. */ 2. 3. #include 4. #include 5. extern char *index(); 6. struct stat buf,hbuf; 7. 8. gethdate(name) char *name; { 9. register char *np; 10. if(stat(name, &hbuf)) 11. error("Cannot get status of %s.", 12. (np = index(name, '/')) ? np+1 : name); 13. } 14. 15. uptodate(fd) { 16. if(fstat(fd, &buf)) { 17. pline("Cannot get status?"); 18. return(0); 19. } 20. if(buf.st_ctime < hbuf.st_ctime) { 21. pline("Saved level is out of date."); 22. return(0); 23. } 24. return(1); 25. }
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