Rechercher une page de manuel
lamf_rfclose
Langue: en
Version: 58988 (mandriva - 22/10/07)
Section: 2 (Appels système)
Sommaire
NAME
lamf_rfopen, lamf_rfclose - Open or close a remote file. (LAM)SYNOPSIS
subroutine lamf_rfopen (udesc, filename, flags, mode, ierror) character filename*(*) integer udesc, flags, mode, ierror subroutine lamf_rfclose (udesc, ierror) integer udesc, ierror
DESCRIPTION
These functions provide access to underlying POSIX functions, open(2) and close(2), on any LAM node. See lam_rfposix(2).For convenience, the common POSIX open flags and additional LAM open flags are defined in <FREQ.h>. See CONSTANTS(5) for the precise values. The flags can be added together.
- LAM_O_RDONLY
- Open for reading only.
- LAM_O_WRONLY
- Open for writing only.
- LAM_O_RDWR
- Open for reading and writing.
- LAM_O_APPEND
- Append on each write.
- LAM_O_CREAT
- Create the file if it does not exist.
- LAM_O_TRUNC
- Truncate the file length to 0.
- LAM_O_EXCL
- Report an error if trying to create an existing file.
- LAM_O_REUSE
- Reuse existing file descriptor opened with same file name, if possible.
SEE ALSO
lamf_rfread(2), lamf_rfwrite(2)Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre