#include "config.h"
#include "misc.h"
#include "dir.h"
#include "lisp.h"
#include "module.h"
#include "system.h"
#include <sys/stat.h>
#include <signal.h>
#include <unistd.h>
#include <pwd.h>
#include <errno.h>
#include <fcntl.h>
#include <sys/file.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <netdb.h>
#include <netinet/tcp.h>
#include <sys/ioctl.h>
Include dependency graph for unix.c:
Defines | |
#define | XCONQDATA ".." |
#define | XCONQLIB "lib" |
#define | XCONQIMAGES "images" |
#define | XCONQSCORES "scores" |
Functions | |
char * | default_library_pathname (void) |
char * | default_images_pathname (char *libpath) |
char * | news_filename (void) |
void | save_game (char *fname) |
char * | game_homedir (void) |
char * | game_filename (char *namevar, char *defaultname) |
FILE * | open_file (char *filename, char *mode) |
FILE * | open_library_file (char *filename) |
FILE * | open_scorefile_for_reading (char *name) |
FILE * | open_scorefile_for_writing (char *name) |
void | close_scorefile_for_writing (FILE *fp) |
void | make_pathname (char *path, char *name, char *extn, char *pathbuf) |
int | remove_file (char *fname) |
char * | error_save_filename (void) |
void | init_signal_handlers (void) |
int | n_seconds_elapsed (int n) |
int | n_ms_elapsed (int n) |
void | record_ms (void) |
Variables | |
uid_t | games_uid |
timeval | reallasttime = { 0, 0 } |
timeval | realcurtime |
timeval | reallastmstime = { 0, 0 } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|