bzero(9f) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

bzero(9f)

bzero(9F)                      Kernel Functions                      bzero(9F)



NAME
       bzero - clear memory for a given number of bytes

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

       void bzero(void *addr, size_t bytes);

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

PARAMETERS
       addr     Starting virtual address of memory to be cleared.


       bytes    The number of bytes to clear starting at addr.


DESCRIPTION
       The  bzero()  function clears a contiguous portion of memory by filling
       it with zeros.

CONTEXT
       The bzero() function can be called from user, interrupt, or kernel con‐
       text.

SEE ALSO
       bcopy(9F), clrbuf(9F), kmem_zalloc(9F)


       Writing Device Drivers in Oracle Solaris 11.4

WARNINGS
       The  address  range specified must be within the kernel space. No range
       checking is done.  If  an  address  outside  of  the  kernel  space  is
       selected, the driver may corrupt the system in an unpredictable way.



Oracle Solaris 11.4               16 Jan 2006                        bzero(9F)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3