summaryrefslogtreecommitdiffstats
path: root/snake/snake/snake.c
Commit message (Expand)AuthorAgeFilesLines
* Remove extra semicolon.msaitoh2020-05-141-3/+3
* Do not pass usleep() values >= 1 million. From Henning Petersen in PR 51286dholland2016-06-271-3/+5
* WARNS=5, and make WARNS=5 the default for src/games.dholland2012-06-191-41/+23
* Fix a few of the games to use getprogname() in their usage() functions.pgoyette2010-12-051-4/+8
* sprinkle staticdholland2009-08-121-62/+61
* if initscr() fails, exit with a message rather than crash in thedrochner2008-08-081-3/+4
* Remove the \n and tabs from the __COPYRIGHT() strings.lukem2008-07-201-4/+4
* convert __attribute__s to applicable cdefs.h macrosperry2007-12-151-5/+5
* Replve duplicate #includeshubertf2007-01-171-3/+2
* if getpwuid() returns null, print out the uid rather than dereferencingabs2006-03-171-7/+15
* Control -d by #ifdef DEBUG; adjust usage message accordingly. Bugjsm2004-02-081-3/+7
* Remove uses of __P.jsm2004-01-271-25/+25
* Move UCB-licensed code from 4-clause to 3-clause licence.agc2003-08-071-7/+3
* Always lseek back to the beginning of the file in post(), which may bejsm2001-08-311-3/+5
* Use setgid(), not setregid().mycroft2000-05-081-3/+3
* fix handling of '-t' flag, and pause for a little bit after drawing happysnakecgd1999-10-261-2/+5
* Convert snake to use curses, and generally clean it up somewhat.jsm1999-09-141-165/+204
* Security improvements for games (largely from or inspired by OpenBSD).jsm1999-09-121-9/+24
* Use the symbolic names `SEEK_SET' and `O_RDONLY' where appropriate injsm1999-09-081-5/+5
* Add `__noreturn__' and `__unused__' attributes where appropriate tojsm1999-09-081-3/+3
* Add use of `const' where appropriate to the games.jsm1999-09-081-9/+9
* WARNSify, KNFifylukem1997-10-121-303/+353
* Use POSIX tty semantics.mycroft1995-04-291-5/+4
* Various changes to make games compile w/o warnings on the alpha:cgd1995-04-241-4/+4
* fix up botched includecgd1995-04-221-3/+3
* clean up import, NetBSD RCS Ids, etc.cgd1995-04-221-10/+17
* evil lseek casts...cgd1994-04-011-4/+4
* Add RCS identifiers.mycroft1993-08-011-1/+2
* Cleanup for GCC 2.mycroft1993-04-181-2/+2
* initial import of 386bsd-0.1 sourcescgd1993-03-211-0/+890