From 40748d34d73da6715f7e3050e9108e571f1c7fd6 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Fri, 27 Oct 1995 23:58:11 +0000 Subject: [PATCH] Implement new primitive OS2-COPY-FILE. --- v7/src/microcode/pros2fs.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/v7/src/microcode/pros2fs.c b/v7/src/microcode/pros2fs.c index ecea32c39..a7115e251 100644 --- a/v7/src/microcode/pros2fs.c +++ b/v7/src/microcode/pros2fs.c @@ -1,6 +1,6 @@ /* -*-C-*- -$Id: pros2fs.c,v 1.6 1995/04/23 02:44:25 cph Exp $ +$Id: pros2fs.c,v 1.7 1995/10/27 23:58:11 cph Exp $ Copyright (c) 1994-95 Massachusetts Institute of Technology @@ -420,3 +420,9 @@ DEFINE_PRIMITIVE ("OS2-DAYLIGHT-SAVINGS-TIME?", Prim_OS2_dst_p, 0, 0, 0) PRIMITIVE_HEADER (0); PRIMITIVE_RETURN (BOOLEAN_TO_OBJECT (OS2_daylight_savings_p ())); } + +DEFINE_PRIMITIVE ("OS2-COPY-FILE", Prim_os2_copy_file, 2, 2, 0) +{ + PRIMITIVE_HEADER (2); + STD_API_CALL (dos_copy, (STRING_ARG (1)), (STRING_ARG (2)), DCPY_EXISTING) +} -- 2.25.1