#include "htsys.h"
#include <ctype.h>
#include <dir.h>
#include <dpmi.h>
#include <errno.h>
#include <limits.h>
#include <string.h>
#include <stdlib.h>
#include <sys/stat.h>
#include <unistd.h>
Go to the source code of this file.
Classes | |
struct | djfindstate |
Defines | |
#define | MIN(a, b) ((a) < (b) ? (a) : (b)) |
#define | MAX(a, b) ((a) > (b) ? (a) : (b)) |
Functions | |
int | sys_canonicalize (char *result, const char *filename) |
int | sys_findclose (pfind_t *pfind) |
time_t | dostime2time_t (unsigned short time, unsigned short date) |
void | ff2pstat (struct ffblk *f, pstat_t *s) |
int | sys_findfirst (const char *dirname, pfind_t *pfind) |
int | sys_findnext (pfind_t *pfind) |
int | sys_pstat (pstat_t *s, const char *filename) |
void | sys_suspend () |
int | sys_get_free_mem () |
int | sys_truncate (const char *filename, FILEOFS ofs) |
int | sys_deletefile (const char *filename) |
bool | sys_is_path_delim (const char c) |
int | sys_filename_cmp (const char *a, const char *b) |
int | sys_ipc_exec (ht_streamfile **in, ht_streamfile **out, ht_streamfile **err, int *handle, const char *cmd) |
bool | sys_ipc_is_valid (int handle) |
int | sys_ipc_terminate (int handle) |
bool | sys_write_data_to_native_clipboard (const void *data, int size) |
int | sys_get_native_clipboard_data_size () |
bool | sys_read_data_from_native_clipboard (void *data, int max_size) |
bool | init_system () |
void | done_system () |
Variables | |
char | sys_find_name [HT_NAME_MAX] |
|
Definition at line 34 of file djgpp-x/htsys.cc. |
|
Definition at line 33 of file djgpp-x/htsys.cc. |
|
Definition at line 327 of file djgpp-x/htsys.cc. |
|
Definition at line 54 of file djgpp-x/htsys.cc. Referenced by ff2pstat(). |
|
Definition at line 69 of file djgpp-x/htsys.cc. References pstat_t::atime, pstat_t::caps, pstat_t::ctime, dostime2time_t(), HT_S_IFDIR, HT_S_IFREG, HT_S_IRUSR, HT_S_IWUSR, pstat_t::mode, pstat_t::mtime, pstat_atime, pstat_ctime, pstat_mode_type, pstat_mode_usr, pstat_mtime, pstat_size, and pstat_t::size. Referenced by sys_findfirst(), and sys_findnext(). |
|
Definition at line 318 of file djgpp-x/htsys.cc. |
|
Definition at line 36 of file djgpp-x/htsys.cc. |
|
Definition at line 159 of file djgpp-x/htsys.cc. |
|
Definition at line 169 of file djgpp-x/htsys.cc. References sys_is_path_delim(). |
|
Definition at line 48 of file djgpp-x/htsys.cc. References pfind_t::findstate. |
|
Definition at line 91 of file djgpp-x/htsys.cc. References ff2pstat(), pfind_t::findstate, djfindstate::fstate, malloc(), pfind_t::name, pfind_t::stat, and sys_find_name. |
|
Definition at line 117 of file djgpp-x/htsys.cc. References ff2pstat(), pfind_t::findstate, djfindstate::fstate, pfind_t::name, pfind_t::stat, and sys_find_name. |
|
Definition at line 147 of file djgpp-x/htsys.cc. |
|
Definition at line 273 of file djgpp-x/htsys.cc. References dword. |
|
Definition at line 184 of file djgpp-x/htsys.cc. |
|
Definition at line 212 of file djgpp-x/htsys.cc. |
|
Definition at line 218 of file djgpp-x/htsys.cc. |
|
Definition at line 164 of file djgpp-x/htsys.cc. |
|
Definition at line 128 of file djgpp-x/htsys.cc. References pstat_t::caps, pstat_t::fsid, pstat_t::mode, pstat_t::mtime, pstat_mode_type, pstat_mode_usr, pstat_mode_w, pstat_mtime, pstat_size, pstat_t::size, pstat_t::size_high, and sys_ht_mode(). |
|
Definition at line 285 of file djgpp-x/htsys.cc. References MIN, sys_get_native_clipboard_data_size(), and word. |
|
Definition at line 142 of file djgpp-x/htsys.cc. |
|
Definition at line 154 of file djgpp-x/htsys.cc. References FILEOFS. |
|
Definition at line 246 of file djgpp-x/htsys.cc. |
|
Definition at line 46 of file djgpp-x/htsys.cc. |