home *** CD-ROM | disk | FTP | other *** search
- /* NAME(oldname, newname) -- renames file oldname to newname
-
- Copyright (c) 1983, 1984 by JMI Software Consultants, Inc.
- */
-
- #include "acom.h"
- #include "host.h"
-
- VOID NAME(oldname, newname)
- BTEXT *oldname, *newname;
- {
- IMPORT INT strlpfx;
- COUNT status;
-
- if ((status = rename(oldname + strlpfx, newname + strlpfx)) < 0)
- xerror(status, "NAME");
- }