The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Интерактивная система просмотра системных руководств (man-ов)

 ТемаНаборКатегория 
 
 [Cписок руководств | Печать]

bstring (3)
  • >> bstring (3) ( Solaris man: Библиотечные вызовы )
  • bstring (3) ( FreeBSD man: Библиотечные вызовы )
  • bstring (3) ( Русские man: Библиотечные вызовы )
  • bstring (3) ( Linux man: Библиотечные вызовы )
  •  

    NAME

    bstring, bcopy, bcmp, bzero - memory operations
     
    

    SYNOPSIS

    #include <strings.h>
    
    void bcopy(const void *s1, void *s2, size_t n);
    

    int bcmp(const void *s1, const void *s2, size_t n);
    

    void bzero(void *s, size_t n);
    

     

    DESCRIPTION

    The bcopy(), bcmp(), and bzero() functions operate as efficiently as possible on memory areas (arrays of bytes bounded by a count, not terminated by a null character). They do not check for the overflow of any receiving memory area. These functions are similar to the memcpy(), memcmp(), and memset() functions described on the memory(3C) manual page.

    The bcopy() function copies n bytes from memory area s1 to s2. Copying between objects that overlap will take place correctly.

    The bcmp() function compares the first n bytes of its arguments, returning 0 if they are identical and 1 otherwise. The bcmp() function always returns 0 when n is 0.

    The bzero() function sets the first n bytes in memory area s to 0.  

    WARNINGS

    The bcopy() function takes parameters backwards from memcmp(). See memory(3C).  

    ATTRIBUTES

    See attributes(5) for descriptions of the following attributes:

    ATTRIBUTE TYPEATTRIBUTE VALUE

    Interface StabilityStandard

    MT-Level

     

    SEE ALSO

    memory(3C), attributes(5), standards(5)


     

    Index

    NAME
    SYNOPSIS
    DESCRIPTION
    WARNINGS
    ATTRIBUTES
    SEE ALSO


    Поиск по тексту MAN-ов: 




    Партнёры:
    PostgresPro
    Inferno Solutions
    Hosting by Hoster.ru
    Хостинг:

    Закладки на сайте
    Проследить за страницей
    Created 1996-2024 by Maxim Chirkov
    Добавить, Поддержать, Вебмастеру