zoslib
z/OS C/C++ Library
Loading...
Searching...
No Matches
Macros | Functions
unistd.h File Reference
#include "zos-macros.h"

Go to the source code of this file.

Macros

#define __XPLAT   1
 

Functions

__Z_EXPORT int __pipe_ascii (int[2])
 
__Z_EXPORT int __close (int)
 
__Z_EXPORT int getentropy (void *buffer, size_t length) __asm("__getentropy")
 
__Z_EXPORT int execvpe (const char *name, char *const argv[], char *const envp[])
 

Macro Definition Documentation

◆ __XPLAT

#define __XPLAT   1

Function Documentation

◆ __close()

__Z_EXPORT int __close ( int  fd)

◆ __pipe_ascii()

__Z_EXPORT int __pipe_ascii ( int  fd[2])

◆ execvpe()

__Z_EXPORT int execvpe ( const char *  name,
char *const  argv[],
char *const  envp[] 
)

Execute a file.

Parameters
[in]nameused to construct a pathname that identifies the new process image file.
[in]argvan array of character pointers to NULL-terminated strings.
[in]envpan array of character pointers to NULL-terminated strings.
Returns
if successful, it doesn't return; otherwise, it returns -1 and sets errno.

◆ getentropy()

__Z_EXPORT int getentropy ( void *  buffer,
size_t  length 
)