![Netscape ENTERPRISE SERVER 6.1 Скачать руководство пользователя страница 189](http://html1.mh-extra.com/html/netscape/enterprise-server-6-1/enterprise-server-6-1_manual_1674653189.webp)
NSAPI Functions (in Alphabetical Order)
Chapter
5
NSAPI Function Reference
189
system_rename
The
system_rename
function renames a file. It may not work on directories if the
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
char *old
is the old name of the file.
char *
new is the new name for the file:
system_ulock
The
system_ulock
function unlocks the specified file that has been locked by the
function
system_lock
. For more information about locking, see
system_flock
.
Syntax
int system_ulock(SYS_FILE fd);
Returns
The constant
IO_OKAY
if the operation succeeded or the constant
IO_ERROR
if the
operation failed
Parameters
SYS_FILE fd
is the platform-independent file descriptor.
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
function converts a specified UNIX-style pathname to a
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/Windows 2000. You can use
system_unix2local
to convert the UNIX file name into the format that Windows
NT/Windows 2000 accepts. In the UNIX environment, this function does nothing,
but may be called for portability.
Содержание ENTERPRISE SERVER 6.1
Страница 1: ...NSAPI Programmer s Guide Netscape Enterprise Server Version6 1 April 2002 Draft...
Страница 18: ...Where to Find Related Information 18 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 138: ...CGI to NSAPI Conversion 138 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 214: ...NSAPI Functions in Alphabetical Order 214 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 290: ...Miscellaneous 290 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 310: ...The Netscape LDAP Schema 310 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 318: ...cinfo 318 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 324: ...Sample MIME Types File 324 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 336: ...Buffered Streams 336 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 344: ...344 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 350: ...350 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 356: ...356 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...