SNAP(2,L) AIX Technical Reference SNAP(2,L) ------------------------------------------------------------------------------- snap PURPOSE Provide user access to perform dumps. LIBRARY Standard C Library (libc.a) SYNTAX int snap (a_flag) int a_flag; DESCRIPTION The snap system call provides a user system call interface to perform a system dump. This is a memory dump on a System/370 only, and may or may not be performed at panic time. The a_flag parameter specifies whether or not the system should panic when the memory dump is taken. If a_flag is non-zero, the system will perform a panic and then dump memory. You must be superuser to perform this system call. RETURN VALUE If the snap system call is unsuccessful, -1 is returned and errno is set to indicate the error. ERROR CONDITIONS The snap system call fails if the following is true: EPERM Operation not permitted; permission is denied. Processed November 7, 1990 SNAP(2,L) 1