The OpenNET Project / Index page

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

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

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

stringbuf.c (3)
  • >> stringbuf.c (3) ( Linux man: Библиотечные вызовы )
  •  

    NAME

    lib/stringbuf.c -  
     
    

    SYNOPSIS


    #include 'system.h'
    #include 'stringbuf.h'
    #include 'debug.h'
     

    Data Structures


    struct StringBufRec
     

    Defines


    #define BUF_CHUNK 1024
     

    Functions


    int xisspace (int c)
    Locale insensitive isspace(3).
    void * _free (const void *p)
    Wrapper to free(3), hides const compilation noise, permit NULL, return NULL.
    StringBuf newStringBuf (void)

    StringBuf freeStringBuf (StringBuf sb)

    void truncStringBuf (StringBuf sb)

    void stripTrailingBlanksStringBuf (StringBuf sb)

    char * getStringBuf (StringBuf sb)

    void appendStringBufAux (StringBuf sb, const char *s, int nl)
     

    DETAILED DESCRIPTION

    Definition in file stringbuf.c.  

    DEFINE DOCUMENTATION

     

    #define BUF_CHUNK 1024

    Definition at line 10 of file stringbuf.c.

    Referenced by appendStringBufAux(), and newStringBuf().  

    FUNCTION DOCUMENTATION

     

    void* _free (const void * p) [inline, static]

    Wrapper to free(3), hides const compilation noise, permit NULL, return NULL.

    Parameters:

    p
    memory to free

    Returns: NULL always

    Definition at line 32 of file stringbuf.c.  

    void appendStringBufAux (StringBuf sb, const char * s, int nl)

    Definition at line 83 of file stringbuf.c.

    References StringBufRec::allocated, StringBufRec::buf, BUF_CHUNK, StringBufRec::free, StringBufRec::tail, and xrealloc().  

    StringBuf freeStringBuf (StringBuf sb)

    Definition at line 50 of file stringbuf.c.

    References _free(), and StringBufRec::buf.

    Referenced by addFileToArrayTag(), addFileToTag(), addFileToTagAux(), doSetupMacro(), freePackage(), freeSpec(), generateDepends(), parseChangelog(), parseDescription(), parsePrep(), parseScript(), processSourceFiles(), and rpmReadPackageManifest().  

    char* getStringBuf (StringBuf sb)

    Definition at line 78 of file stringbuf.c.

    References StringBufRec::buf.

    Referenced by addChangelog(), addFileToArrayTag(), addFileToTag(), doScript(), generateDepends(), parsePrep(), parseScript(), processPackageFiles(), processSourceFiles(), and rpmReadPackageManifest().  

    StringBuf newStringBuf (void)

    Definition at line 38 of file stringbuf.c.

    References StringBufRec::allocated, StringBufRec::buf, BUF_CHUNK, StringBufRec::free, StringBufRec::tail, xcalloc(), and xmalloc().

    Referenced by addFileToArrayTag(), addFileToTag(), doSetupMacro(), generateDepends(), getOutputFrom(), parseBuildInstallClean(), parseChangelog(), parseDescription(), parseFiles(), parseForSimple(), parsePrep(), parseScript(), processSourceFiles(), and rpmReadPackageManifest().  

    void stripTrailingBlanksStringBuf (StringBuf sb)

    Definition at line 66 of file stringbuf.c.

    References StringBufRec::allocated, StringBufRec::free, StringBufRec::tail, and xisspace().

    Referenced by parseDescription(), and parseScript().  

    void truncStringBuf (StringBuf sb)

    Definition at line 59 of file stringbuf.c.

    References StringBufRec::allocated, StringBufRec::buf, StringBufRec::free, and StringBufRec::tail.  

    int xisspace (int c) [inline, static]

    Locale insensitive isspace(3).

    Definition at line 22 of file stringbuf.c.  

    AUTHOR

    Generated automatically by Doxygen for rpm from the source code.


     

    Index

    NAME
    SYNOPSIS
    Data Structures
    Defines
    Functions
    DETAILED DESCRIPTION
    DEFINE DOCUMENTATION
    #define BUF_CHUNK 1024
    FUNCTION DOCUMENTATION
    void* _free (const void * p) [inline, static]
    void appendStringBufAux (StringBuf sb, const char * s, int nl)
    StringBuf freeStringBuf (StringBuf sb)
    char* getStringBuf (StringBuf sb)
    StringBuf newStringBuf (void)
    void stripTrailingBlanksStringBuf (StringBuf sb)
    void truncStringBuf (StringBuf sb)
    int xisspace (int c) [inline, static]
    AUTHOR


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




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

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