cr_read man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

cr_read(3)							    cr_read(3)

       cr_read - read from crash dump

       The  function  attempts to read the memory area defined by mem_page and
       num_pages into the buffer pointed to by buf from the crash dump	opened
       using crash_cb.

       The starts at the position in the crash dump associated with the physi‐
       cal memory offset given by  mem_page.   If  the	physical  memory  page
       mem_page	 does  not  exist  in the crash dump, sets *num_pages to 0 and
       returns 0.

       No data transfer will occur past a page of memory that does  not	 exist
       in  the	crash dump.  If the starting position, mem_page, plus the read
       length, *num_pages, goes past an area of memory that does not exist  in
       the  crash  dump,  sets	*num_pages  to the number of consecutive pages
       (starting at mem_page) actually read.

       Returns zero for success.  Other possible return values	are  described
       in libcrash(5).

       Assuming	 a  process  opened  a	crash  dump,  the  following  call  to
       cr_read(3) reads the first pages from the crash dump  into  the	buffer
       pointed to by mybuf:

       may  return  fewer  pages than requested due to implementation details.
       Always check the number of pages returned.   If	they  are  fewer  than
       requested, issue a new request starting at the first page not returned.
       Only if that new request reads zero pages (or returns an error) can you
       be sure that the page was not dumped.

       was developed by HP.

       cr_open(3), libcrash(5).


List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net