System_Rename; System_Ulock; System_Unix2Local - Netscape ENTERPRISE SERVER 6.0 - NSAPI PROGRAMMER GUIDE Manual

Nsapi
Table of Contents

Advertisement

system_rename

The
system_rename
old and new directories are on different file systems.
Syntax
int system_rename(char *old, char *new);
Returns
0 if the operation succeeded or -1 if the operation failed.
Parameters
is the old name of the file.
char *old
new is the new name for the file:
char *

system_ulock

The
function unlocks the specified file that has been locked by the
system_ulock
function
system_lock
Syntax
int system_ulock(SYS_FILE fd);
Returns
The constant
IO_OKAY
operation failed
Parameters
is the platform-independent file descriptor.
SYS_FILE fd
See also
system_errmsg, system_fopenRO, system_fopenRW, system_fopenWA,
system_fread, system_fwrite, system_fwrite_atomic, system_flock,
system_fclose

system_unix2local

The
system_unix2local
local file system pathname. Use this function when you have a file name in the
UNIX format (such as one containing forward slashes), and you need to access a
file on another system like Windows NT. You can use
convert the UNIX file name into the format that Windows NT accepts. In the UNIX
environment, this function does nothing, but may be called for portability.
function renames a file. It may not work on directories if the
. For more information about locking, see
if the operation succeeded or the constant
function converts a specified UNIX-style pathname to a
NSAPI Functions (in Alphabetical Order)
system_flock
IO_ERROR
system_unix2local
Chapter 5
NSAPI Function Reference
.
if the
to
185

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise server 6.0

Table of Contents