lamf_rfopen(2)

lamf_rfopen2

Open or close a remote file. (lam)

Usage

subroutine lamf_rfopen (udesc, filename, flags, mode, ierror)
character filename*(*)
integer udesc, flags, mode, ierror
subroutine lamf_rfclose (udesc, ierror)
integer udesc, ierror

Overview

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.

Releases

2 releases since Debian 2.1 (Slink); the text changed 1 time.

  1. 2.1
  2. 2.2

From lam2-dev 6.3.2-3 in Debian 2.2 (Potato). Parsed by carta from the page's man source.