IBM

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)

Parameters:
*host The host for the new directory.
*path The path name for the new directory.
Data Structures:
none
Define Statements:
none
Returns:
int: 0
0 indicates a successful creation.

int:-1
Function failed.

Errors:
If the function fails, lserrno is set to indicate the error.
Equivalent line commands:
none
Files:
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.