IBM

ls_rfcontrol

Controls the behavior of remote file operations.

This routine performs operations on files located on remote hosts.

ls_rfcontrol controls the behavior of remote file operations. Possible commands are: commands_ls_rfcontrol

Either the RES must be running at the remote host to service any remote file operation or rcp() must be available.

ls_initrex must be called before calling any remote file operation.

This remote file operation makes use of a Remote File Server on the remote host. When this RFS shuts down, its status will be reported to its client. The client should ignore this status.

#include <sys/types.h>
#include <unistd.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <limits.h>
#include <lsf/lsf.h>

int ls_rfcontrol(int command, int arg)

Parameters:
command commands_ls_rfcontrol
arg A pointer to the remote host name cast to int.
Data Structures:
none
Define Statements:
commands_ls_rfcontrol
Returns:
int:0
The function was successful.

int:-1
Function failed.

Errors:
If the function fails, lserrno is set to indicate the error.
Equivalent line commands:
none
Files:
none
See also:
ls_ropen

ls_rread

ls_rwrite

ls_rlseek

ls_rclose

ls_rstat

ls_rfstat

ls_rgetmnthost

ls_initrex



     
Date Modified: 16 Jul 2014

Terms of Use
Copyright © 1994-2014 International Business Machines Corp.
US Government Users Restricted Rights - Use, duplication or disclosure
restricted by GSA ADP Schedule Contract with IBM Corp.