#include <dump.h> int dump_setpath( const char *path );
PATH_MAX
or a pathname
component is longer than NAME_MAX
while _POSIX_NO_TRUNC
is in effect.
The dump_setpath()
function defines the pathname where process
dumps are written. The pathname pointed to by path
defines
where a process dump file is written if the calling process
terminates with a dump file. The path
argument does not
name a directory.
If the path
argument is NULL, the system does not write a
process dump file if the calling process terminates with a dump
file. If the dump_setpath
function fails, the pathname for
writing process dumps does not change.
The _POSIX_DUMP
feature flag is defined to indicate
this service is available.
Copyright © 1988-2004 OAR Corporation