bp_copyout man page on SmartOS

Man page or keyword search:  
man Server   16655 pages
apropos Keyword Search (all sections)
Output format
SmartOS logo
[printable version]

BP_COPYOUT(9F)							BP_COPYOUT(9F)

NAME
       bp_copyout - copy from a driver buffer into a buf(9S)

SYNOPSIS
       #include <sys/types.h>
       #include <sys/buf.h>

       int bp_copyout(void *driverbuf, struct buf *bp, offset_t offset,
	    size_t size);

INTERFACE LEVEL
       Architecture independent level 1 (DDI/DKI).

PARAMETERS
       bp
		    Pointer to the buffer header structure to copy to.

       driverbuf
		    Driver buffer to copy from.

       offset
		    Offset into bp where to start copying.

       size
		    Size of copy.

DESCRIPTION
       The  bp_copyout()  function  copies size bytes starting from the driver
       buffer driverbuf to offset bytes into the memory	 associated  with  bp.
       The offset only applies to bp.

RETURN VALUES
       Under  normal  conditions, 0 is returned to indicate a successful copy.
       Otherwise, -1 is returned if bp references invalid pages.

CONTEXT
       The bp_copyout() function can be called from  user  or  kernel  context
       only.

SEE ALSO
       bp_copyin(9F), bp_mapin(9F), bp_mapout(9F), ddi_copyout(9F), buf(9S)

				 Oct 16, 2007			BP_COPYOUT(9F)
[top]

List of man pages available for SmartOS

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]
Tweet
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