diff options
Diffstat (limited to 'base/gp_os2fs.c')
-rw-r--r-- | base/gp_os2fs.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/base/gp_os2fs.c b/base/gp_os2fs.c index 98c0bb90..943d9458 100644 --- a/base/gp_os2fs.c +++ b/base/gp_os2fs.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2001-2019 Artifex Software, Inc. +/* Copyright (C) 2001-2020 Artifex Software, Inc. All Rights Reserved. This software is provided AS-IS with no warranty, either express or @@ -268,6 +268,18 @@ gp_fopen_impl(const gs_memory_t *mem, const char *fname, const char *mode) return fopen(fname, mode); } +int +gp_unlink_impl(gs_memory_t *mem, const char *fname) +{ + return unlink(fname); +} + +int +gp_rename_impl(gs_memory_t *mem, const char *from, const char *to) +{ + return rename(from, to); +} + int gp_stat_impl(gs_memory_t *mem, const char *path, struct stat *buf) { return stat(path, buf); |