COREDUMP_WRITE(9)      NetBSD Kernel Developer's Manual      COREDUMP_WRITE(9)

NAME
     coredump_write -- common coredump write routine

SYNOPSIS
     #include <sys/signalvar.h>

     int
     coredump_write(void *iocookie, enum uio_seg segflg, const void *data,
         size_t len);

DESCRIPTION
     coredump_write() is used by both machine-dependent and machine-indepen-
     dent components to write information to a coredump.  iocookie is an
     opaque pointer that was supplied to the caller of coredump_write().
     segflg indicates where the data is located, system space or user space.
     data points to the information to be written to the coredump.  len is the
     amount of data to be written.

     coredump_write() returns 0 on success and an appropriate error code on
     failure.

CODE REFERENCES
     This section describes places within the NetBSD source tree where actual
     code implementing or using coredump_write() can be found.  All pathnames
     are relative to /usr/src.

     Process core dumps are initiated within the file sys/kern/kern_sig.c.
     Process core dumps for ELF NetBSD binaries are performed within the files
     sys/kern/core_elf32.c or sys/kern/core_elf64.c.  Process core dumps for
     other NetBSD binaries are performed within the file
     sys/kern/core_netbsd.c.

SEE ALSO
     cpu_coredump(9)

NetBSD 5.0.1                   December 24, 2005                  NetBSD 5.0.1

You can also request any man page by name and (optionally) by section:

Command: 
Section: 
Architecture: 
Collection: 
 

Use the DEFAULT collection to view manual pages for third-party software.


©1994 Man-cgi 1.15, Panagiotis Christias <christia@softlab.ntua.gr>
©1996-2014 Modified for NetBSD by Kimmo Suominen