From 96e4d5b14cf2dfb0235faa8bc3f701c15b15bb05 Mon Sep 17 00:00:00 2001 From: Perl 5 Porters Date: Thu, 17 Apr 1997 00:00:00 +0000 Subject: [inseparable changes from match from perl-5.003_97e to perl-5.003_97f] CORE LANGUAGE CHANGES Subject: New operator systell() From: Chip Salzenberg Files: doio.c ext/Opcode/Opcode.pm keywords.pl opcode.pl pod/perldelta.pod pod/perldiag.pod pod/perlfunc.pod pp_sys.c t/op/sysio.t toke.c Subject: Allow constant sub to be optimized when called with parens From: Chip Salzenberg Files: toke.c Subject: Make {,un}pack fail on invalid pack types From: Chip Salzenberg Files: pod/perldiag.pod pp.c CORE PORTABILITY Subject: Fix bitwise ops and {,un}pack() on Cray CPUs From: Chip Salzenberg Files: pp.c Subject: VMS update From: Charles Bailey Files: lib/Cwd.pm lib/File/Path.pm lib/FindBin.pm vms/perly_c.vms vms/vms.c vms/writemain.pl Subject: Win32 update (three patches) From: Gurusamy Sarathy Files: lib/Cwd.pm lib/ExtUtils/MM_Unix.pm lib/ExtUtils/MM_Win32.pm lib/File/Basename.pm win32/Makefile win32/makedef.pl win32/perllib.c win32/win32.c win32/win32iop.h DOCUMENTATION Subject: Document size restrictions for packed integers From: Jarkko Hietaniemi Files: pod/perlfunc.pod LIBRARY AND EXTENSIONS Subject: Fix bug in Opcode when (maxo & 15) > 8 From: Chip Salzenberg Files: ext/Opcode/Makefile.PL ext/Opcode/Opcode.pm ext/Opcode/Opcode.xs --- win32/win32.c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'win32/win32.c') diff --git a/win32/win32.c b/win32/win32.c index 909036477d..ee50147538 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -841,6 +841,12 @@ win32_vfprintf(FILE *fp, const char *format, va_list args) return (pIOSubSystem->pfnvfprintf(fp, format, args)); } +DllExport int +win32_vprintf(const char *format, va_list args) +{ + return (pIOSubSystem->pfnvprintf(format, args)); +} + DllExport size_t win32_fread(void *buf, size_t size, size_t count, FILE *fp) { @@ -998,6 +1004,18 @@ win32_setmode(int fd, int mode) return pIOSubSystem->pfnsetmode(fd, mode); } +DllExport long +win32_lseek(int fd, long offset, int origin) +{ + return pIOSubSystem->pfnlseek(fd, offset, origin); +} + +DllExport long +win32_tell(int fd) +{ + return pIOSubSystem->pfntell(fd); +} + DllExport int win32_open(const char *path, int flag, ...) { @@ -1019,6 +1037,12 @@ win32_close(int fd) return pIOSubSystem->pfnclose(fd); } +DllExport int +win32_eof(int fd) +{ + return pIOSubSystem->pfneof(fd); +} + DllExport int win32_dup(int fd) { @@ -1048,16 +1072,19 @@ win32_mkdir(const char *dir, int mode) { return pIOSubSystem->pfnmkdir(dir); /* just ignore mode */ } + DllExport int win32_rmdir(const char *dir) { return pIOSubSystem->pfnrmdir(dir); } + DllExport int win32_chdir(const char *dir) { return pIOSubSystem->pfnchdir(dir); } + DllExport int win32_spawnvpe(int mode, const char *cmdname, const char *const *argv, const char *const *envp) -- cgit v1.2.1