Mercurial > dwindows
comparison compat.h @ 36:cddb02f847e1
Added unix versions of functions in compat, and added getfsname, plus
some GTK fixes.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Mon, 17 Sep 2001 09:15:40 +0000 |
parents | cd715f9036c0 |
children | af0a78aa0d45 |
comparison
equal
deleted
inserted
replaced
35:432c39a4ff86 | 36:cddb02f847e1 |
---|---|
187 void sockshutdown(void); | 187 void sockshutdown(void); |
188 int makedir(char *path); | 188 int makedir(char *path); |
189 void nonblock(int fd); | 189 void nonblock(int fd); |
190 void setfileinfo(char *filename, char *url); | 190 void setfileinfo(char *filename, char *url); |
191 #if defined(__IBMC__) || defined(__WIN32__) | 191 #if defined(__IBMC__) || defined(__WIN32__) |
192 unsigned long drivesize(int drive); | |
192 unsigned long drivefree(int drive); | 193 unsigned long drivefree(int drive); |
193 #else | 194 #else |
194 unsigned long long drivefree(int drive); | 195 unsigned long long drivefree(int drive); |
196 unsigned long long drivesize(int drive); | |
195 #endif | 197 #endif |
196 int isdrive(int drive); | 198 int isdrive(int drive); |
197 FILE *fsopen(char *path, char *modes); | 199 FILE *fsopen(char *path, char *modes); |
198 int fsclose(FILE *fp); | 200 int fsclose(FILE *fp); |
199 char *fsgets(char *str, int size, FILE *stream); | 201 char *fsgets(char *str, int size, FILE *stream); |