ls_createdir
creates a directory on a remote host.This routine creates a directory on the remote host.
ls_createdir creates the named directory path on the remote host.
RES must be running on the remote host.
ls_initrex must be called before calling this function.
#include <sys/types.h>
#include <unistd.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <limits.h>
#include <lsf/lsf.h>int ls_createdir(char *host, char *path, int userId)
Data Structures:
- Parameters:
*host The host for the new directory. *path The path name for the new directory. Define Statements:
- none
- none
Errors:
- Returns:
- int: 0
0 indicates a successful creation.int:-1
Function failed.Equivalent line commands:
- If the function fails, lserrno is set to indicate the error.
Files:
- none
- none
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.