84 |
#define SOLARIS |
#define SOLARIS |
85 |
#endif |
#endif |
86 |
|
|
87 |
#ifdef SOLARIS |
#if (defined(SOLARIS) || defined(__hpux)) |
88 |
#define DIRFD(a) ((a)->dd_fd) |
#define DIRFD(a) ((a)->dd_fd) |
89 |
#else |
#else |
90 |
#define DIRFD(a) (dirfd(a)) |
#define DIRFD(a) (dirfd(a)) |
102 |
#include <time.h> /* ctime */ |
#include <time.h> /* ctime */ |
103 |
|
|
104 |
|
|
105 |
#if defined(SOLARIS) |
#if (defined(SOLARIS) || defined (__hpux) || defined(__BEOS__)) |
106 |
#include <sys/statvfs.h> /* solaris statvfs */ |
#include <sys/statvfs.h> /* solaris statvfs */ |
107 |
#define STATFS_FN(path, buf) (statvfs(path,buf)) |
#define STATFS_FN(path, buf) (statvfs(path,buf)) |
108 |
#define STATFS_T statvfs |
#define STATFS_T statvfs |
185 |
/* optarg looks like ':h:=/mnt/floppy,b:=/mnt/usbdevice1' */ |
/* optarg looks like ':h:=/mnt/floppy,b:=/mnt/usbdevice1' */ |
186 |
/* when it arrives to this function. */ |
/* when it arrives to this function. */ |
187 |
int |
int |
188 |
disk_enum_devices(uint32 *id, char *optarg) |
disk_enum_devices(uint32 * id, char *optarg) |
189 |
{ |
{ |
190 |
char *pos = optarg; |
char *pos = optarg; |
191 |
char *pos2; |
char *pos2; |