summaryrefslogtreecommitdiff
path: root/win32/win32iop.h
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-07-10 20:46:12 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-07-10 20:46:12 +0000
commite24c7c18173514bd97dba167341e7465f92d5ef7 (patch)
tree232db464e5b81b8ac10091149ffb885bc83201bc /win32/win32iop.h
parentac9fe1c23eac5f442f32542eeea699c9f084bf60 (diff)
downloadperl-e24c7c18173514bd97dba167341e7465f92d5ef7.tar.gz
add win32_rename() that does what docs say
p4raw-id: //depot/perl@1403
Diffstat (limited to 'win32/win32iop.h')
-rw-r--r--win32/win32iop.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/win32/win32iop.h b/win32/win32iop.h
index b22a1870a9..a83ebd57ac 100644
--- a/win32/win32iop.h
+++ b/win32/win32iop.h
@@ -74,6 +74,7 @@ DllExport int win32_stat(const char *name,struct stat *sbufptr);
DllExport int win32_pipe( int *phandles, unsigned int psize, int textmode );
DllExport FILE* win32_popen( const char *command, const char *mode );
DllExport int win32_pclose( FILE *pf);
+DllExport int win32_rename( const char *oldname, const char *newname);
DllExport int win32_setmode( int fd, int mode);
DllExport long win32_lseek( int fd, long offset, int origin);
DllExport long win32_tell( int fd);
@@ -203,6 +204,7 @@ END_EXTERN_C
#define abort() win32_abort()
#define fstat(fd,bufptr) win32_fstat(fd,bufptr)
#define stat(pth,bufptr) win32_stat(pth,bufptr)
+#define rename(old,new) win32_rename(old,new)
#define setmode(fd,mode) win32_setmode(fd,mode)
#define lseek(fd,offset,orig) win32_lseek(fd,offset,orig)
#define tell(fd) win32_tell(fd)