The OpenNET Project / Index page

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

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

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

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

    NAME

    system.h -  
     
    

    SYNOPSIS


    #include <sys/types.h>
    #include <sys/stat.h>
    #include <stdio.h>
    #include <time.h>
    #include <strings.h>
    #include <errno.h>
    #include <sys/file.h>
     

    Data Structures


    struct our_mntent
     

    Defines


    #define major(dev) (((dev) >> 8) & 0xff)

    #define minor(dev) ((dev) & 0xff)

    #define makedev(maj, min) (((maj) << 8) | (min))

    #define EXIT_FAILURE 1

    #define SEEK_SET 0

    #define SEEK_CUR 1

    #define SEEK_END 2

    #define F_OK 0

    #define X_OK 1

    #define W_OK 2

    #define R_OK 4

    #define dirent direct

    #define NLENGTH(direct) ((direct)->d_namlen)

    #define setprogname(pn)

    #define setlocale(Category, Locale)

    #define bindtextdomain(Domain, Directory)

    #define textdomain(Domain)

    #define _(Text) Text

    #define dgettext(DomainName, Text) Text

    #define N_(Text) Text

    #define S_IFSOCK (0xc000)

    #define S_ISLNK(mode) ((mode & 0xf000) == S_IFLNK)

    #define S_ISSOCK(mode) ((mode & 0xf000) == S_IFSOCK)

    #define lchown chown

    #define our_mntent struct our_mntent

    #define GETMNTENT_ONE 1

    #define GETMNTENT_TWO 0

    #define MOUNTED '/etc/mnttab'
     

    Functions


    char * memchr ()

    char * stpcpy (char *dest, const char *src)

    char * stpncpy (char *dest, const char *src, size_t n)

    char * getenv (const char *name)

    char * realpath (const char *path, char resolved_path[])

    char * alloca ()

    void * xmalloc (size_t size)

    void * xcalloc (size_t nmemb, size_t size)

    void * xrealloc (void *ptr, size_t size)

    char * xstrdup (const char *str)

    void * vmefail (size_t size)

    int setenv (const char *name, const char *value, int replace)

    void unsetenv (const char *name)

    our_mntent * getmntent (FILE *filep)
     

    Variables


    int errno

    const char * __progname
     

    DETAILED DESCRIPTION

    Definition in file system.h.  

    DEFINE DOCUMENTATION

     

    #define _(Text) Text

    Definition at line 355 of file system.h.

    Referenced by addCanon(), addChangelog(), addDefault(), addFile(), addFileToTagAux(), addSource(), alAllFileSatisfiesDepend(), alAllSatisfiesDepend(), argerror(), armorFormat(), base64Format(), build(), buildArgCallback(), buildForTarget(), buildHost(), buildSpec(), checkForDuplicates(), checkForRequired(), checkForValidArchitectures(), checkOwners(), checkPackageDeps(), checkPassPhrase(), checkSize(), checkSpec(), chkdir(), copyFile(), copyNextLine(), cpio_copy(), cpio_doio(), cpioStrerror(), cvtdberr(), dataLength(), db1close(), db1open(), db3close(), db3open(), db_fini(), db_init(), dbiOpen(), dbiSearch(), dbiTagsInit(), dbiUpdateIndex(), decideFileFate(), depflagsFormat(), dnlInitIterator(), do_inject(), do_verifyGPGSignature(), doAddSubtract(), doDefine(), doGetRecord(), doLogical(), doMultiplyDivide(), doPatch(), doPatchMacro(), doPrimary(), doReadRC(), doRelational(), doScript(), doSetupMacro(), doUndefine(), doUntar(), expandMacro(), expandMacros(), fadAlloc(), fflagsFormat(), freeArgs(), fsmMkdirs(), fsmStage(), ftpStrerror(), genCpioListAndHeader(), generateDepends(), getFilesystemList(), getGidS(), getGname(), getGnameS(), getMachineInfo(), getOutputFrom(), getUidS(), getUname(), getUnameS(), grabArgs(), handlePreambleTag(), headerDump(), headerInject(), hexFormat(), IDTXglob(), ignoreDep(), installArgCallback(), isCompressed(), isSpecFile(), machCompatCacheAdd(), main(), makeGPGSignature(), makePGPSignature(), makeTempFile(), manageFile(), mergeFiles(), newRpmdb(), octalFormat(), openDatabase(), packageBinaries(), parseBuildInstallClean(), parseDescription(), parseExpression(), parseExpressionBoolean(), parseExpressionString(), parseFiles(), parseForAttr(), parseForConfig(), parseForDev(), parseForLang(), parseFormat(), parseForSimple(), parseForVerify(), parseNoSource(), parsePreamble(), parsePrep(), parseRCPOT(), parseScript(), parseSpec(), permsFormat(), printBanner(), printDepProblems(), printExpansion(), printMacro(), printNewSpecfile(), printUsage(), printVersion(), processBinaryFile(), processBinaryFiles(), processPackageFiles(), processScriptFiles(), processSourceFiles(), psmStage(), queryHeader(), rdToken(), readIcon(), readLead(), readLine(), readPackageHeaders(), readRPM(), realDateFormat(), relocateFileList(), rpmAddSignature(), rpmCheckSig(), rpmdbAdd(), rpmdbCountPackages(), rpmdbMoveDatabase(), rpmdbNextIterator(), rpmdbRebuild(), rpmdbRemove(), rpmdepOrder(), rpmDumpMacroTable(), rpmErase(), rpmGetFilesystemUsage(), rpmGetPassPhrase(), rpmInstall(), rpmInstallSource(), rpmInstallSourcePackage(), rpmlogMessage(), rpmProblemString(), rpmQueryVerify(), rpmRangesOverlap(), rpmReadRC(), rpmReadSignature(), rpmReSign(), rpmRollback(), rpmShowProgress(), rpmVerifyFile(), rpmVerifySignature(), rpmWriteSignature(), runScript(), showQueryPackage(), showVerifyPackage(), skipFiles(), timeCheck(), triggertypeFormat(), unsatisfiedDepend(), urlConnect(), urlFind(), urlFreeCache(), urlGetFile(), urlSplit(), verifyDependencies(), verifyGPGSignature(), verifyHeader(), verifyPGPSignature(), vmefail(), vrpmlog(), writeRPM(), XurlFree(), and zapRelation().  

    #define bindtextdomain(Domain, Directory)

    Definition at line 352 of file system.h.

    Referenced by main().  

    #define dgettext(DomainName, Text) Text

    Definition at line 357 of file system.h.

    Referenced by i18nTag().  

    #define dirent direct

    Definition at line 147 of file system.h.

    Referenced by myftw_dir(), and Readdir().  

    #define EXIT_FAILURE 1

    Definition at line 122 of file system.h.

    Referenced by argerror(), checkSpec(), dataLength(), fadAlloc(), getOutputFrom(), main(), rpmReSign(), vmefail(), and vrpmlog().  

    #define F_OK 0

    Definition at line 137 of file system.h.

    Referenced by db3open(), rpmdbRebuild(), and rpmQueryVerify().  

    #define GETMNTENT_ONE 1

    Definition at line 561 of file system.h.  

    #define GETMNTENT_TWO 0

    Definition at line 562 of file system.h.  

    #define lchown chown

    Definition at line 523 of file system.h.

    Referenced by fsmStage(), and rpmdbRebuild().  

    #define major(dev) (((dev) >> 8) & 0xff)

    Definition at line 62 of file system.h.

    Referenced by cpioHeaderRead(), cpioHeaderWrite(), and rpmReadPackageHeader().  

    #define makedev(maj, min) (((maj) << 8) | (min))

    Definition at line 64 of file system.h.

    Referenced by cpioHeaderRead().  

    #define minor(dev) ((dev) & 0xff)

    Definition at line 63 of file system.h.

    Referenced by cpioHeaderRead(), cpioHeaderWrite(), and rpmReadPackageHeader().  

    #define MOUNTED '/etc/mnttab'

    Definition at line 575 of file system.h.

    Referenced by getFilesystemList().  

    #define N_(Text) Text

    Definition at line 360 of file system.h.  

    #define NLENGTH(direct) ((direct)->d_namlen)

    Definition at line 148 of file system.h.  

    #define our_mntent struct our_mntent

    Definition at line 559 of file system.h.  

    #define R_OK 4

    Definition at line 140 of file system.h.  

    #define S_IFSOCK (0xc000)

    Definition at line 483 of file system.h.

    Referenced by vfs_parse_filetype().  

    #define S_ISLNK(mode) ((mode & 0xf000) == S_IFLNK)

    Definition at line 487 of file system.h.

    Referenced by fsmStage(), genCpioListAndHeader(), makeTempFile(), printFileInfo(), rpmPermsString(), rpmVerifyFile(), vfs_parse_ls_lga(), whatis(), and writeFile().  

    #define S_ISSOCK(mode) ((mode & 0xf000) == S_IFSOCK)

    Definition at line 491 of file system.h.

    Referenced by fsmStage(), rpmPermsString(), and whatis().  

    #define SEEK_CUR 1

    Definition at line 133 of file system.h.  

    #define SEEK_END 2

    Definition at line 134 of file system.h.

    Referenced by fadOpen().  

    #define SEEK_SET 0

    Definition at line 132 of file system.h.

    Referenced by db1cput(), doGetRecord(), Pread(), Pwrite(), readRPM(), and writeRPM().  

    #define setlocale(Category, Locale)

    Definition at line 344 of file system.h.

    Referenced by convert(), and main().  

    #define setprogname(pn)

    Definition at line 327 of file system.h.

    Referenced by main().  

    #define textdomain(Domain)

    Definition at line 354 of file system.h.

    Referenced by main().  

    #define W_OK 2

    Definition at line 139 of file system.h.

    Referenced by chkdir(), and db3open().  

    #define X_OK 1

    Definition at line 138 of file system.h.  

    FUNCTION DOCUMENTATION

     

    char* alloca ()

    Referenced by alAddPackage(), build(), buildForTarget(), compressFilelist(), dateToTimet(), db1basename(), db3open(), dbiFindByLabel(), dbiUpdateIndex(), decideFileFate(), doGetRecord(), doLookup(), doReadRC(), expandMacros(), expandT(), expandU(), fadAlloc(), findTag(), findUpgradeSet(), fsmStage(), ftpCommand(), ftpLogin(), ftpReq(), getTagVal(), grabArgs(), headerAddI18NString(), headerLoad(), headerMatchesDepFlags(), httpReq(), i18nTag(), lookupPackage(), main(), makeGPGSignature(), makePGPSignature(), markReplacedFiles(), myftw(), openDatabase(), parseForAttr(), parseForConfig(), parseForDev(), parseForLang(), parseForVerify(), printFileInfo(), providePackageNVR(), relocateFileList(), rpmdbFindByFile(), rpmdbMoveDatabase(), rpmdbRemoveDatabase(), rpmDefineMacro(), rpmdepOrder(), rpmDetectPGPVersion(), rpmGenPath(), rpmGetFilesystemUsage(), rpmInitDB(), rpmInstall(), rpmlibNeedsFeature(), rpmMkpath(), rpmtransCreateSet(), rpmvercmp(), rpmVerifyFile(), runImmedTriggers(), runInstScript(), runScript(), shescapeFormat(), skipFiles(), strntoul(), urlFind(), verifyDependencies(), and writeFile().  

    char* getenv (const char * name)

    Referenced by dosetenv(), headerFindI18NString(), i18nTag(), rpmInitMacros(), and rpmReadRC().  

    struct our_mntent* getmntent (FILE * filep)

    Referenced by getFilesystemList().  

    char* memchr ()

     

    char* realpath (const char * path, char resolved_path[])

    Referenced by doLookup(), and rpmQueryVerify().  

    int setenv (const char * name, const char * value, int replace)

    Referenced by i18nTag().  

    char* stpcpy (char * dest, const char * src)

    Referenced by armorFormat(), base64Format(), db1basename(), db3open(), dbiFindByLabel(), decideFileFate(), doAddSubtract(), doBuildFileList(), dosetenv(), findTag(), formatValue(), fsmFsPath(), fsmMkdirs(), fsmRmdirs(), fsmStage(), ftpCommand(), ftpReq(), genCpioListAndHeader(), grabArgs(), handleOverlappedFiles(), headerMatchesDepFlags(), main(), makeGPGSignature(), makePGPSignature(), printNewSpecfile(), providePackageNVR(), psAppend(), psmStage(), relocateFileList(), rpmdbRebuild(), rpmdepCheck(), rpmDetectPGPVersion(), rpmExpand(), rpmGetPath(), rpmHeaderGetEntry(), rpmInstallSourcePackage(), rpmlibNeedsFeature(), rpmMkpath(), rpmtransCreateSet(), rpmVerifyFile(), showQueryPackage(), singleSprintf(), urlFind(), verifyDependencies(), and writeFile().  

    char* stpncpy (char * dest, const char * src, size_t n)

    Referenced by doLookup(), and verifyPGPSignature().  

    void unsetenv (const char * name)

    Referenced by i18nTag().  

    void* vmefail (size_t size)

    Definition at line 13 of file rpmmalloc.c.

    References _, and EXIT_FAILURE.

    Referenced by xcalloc(), xmalloc(), xrealloc(), and xstrdup().  

    void* xcalloc (size_t nmemb, size_t size)

    Definition at line 34 of file rpmmalloc.c.

    References vmefail().

    Referenced by addIndexEntry(), addTriggerIndex(), alCreate(), allocateExtensionCache(), alMakeIndex(), checkResponse(), dbiIndexNewItem(), dbiTagsInit(), defaultMachine(), dnlInitIterator(), fsmMkdirs(), fssizesTag(), ftpNLST(), genCpioListAndHeader(), getFilesystemList(), headerGetLangs(), headerLoad(), headerNew(), htCreate(), IDTXnew(), ignoreDep(), loadFi(), main(), mapInitIterator(), mergeFiles(), newFSM(), newPackage(), newRpmdb(), newSpec(), newStringBuf(), parseFormat(), parseSpec(), pgpNewDig(), processSourceFiles(), psmStage(), rpmdbAppendIterator(), rpmdbFindByFile(), rpmdbFindFpList(), rpmdbInitIterator(), rpmdbSetIteratorRE(), rpmdepCheck(), rpmDigestDup(), rpmDigestInit(), rpmGetFilesystemUsage(), rpmGetRpmlibProvides(), rpmInstallSourcePackage(), rpmReadPackageManifest(), rpmRunTransactions(), rpmtransCreateSet(), rpmVerifyScript(), saveHardLink(), tsInitIterator(), and XfdNew().  

    void* xmalloc (size_t size)

    Definition at line 24 of file rpmmalloc.c.

    References vmefail().

    Referenced by addFile(), addRelation(), addSource(), alAddPackage(), armorFormat(), base64Format(), buildArgCallback(), checkPackageDeps(), convertAMD(), copyEntry(), cpioHeaderRead(), currentDirectory(), db1cget(), dbiSearch(), depflagsFormat(), do_inject(), doAddSubtract(), doBuildFileList(), doHeaderUnload(), doLookup(), doputenv(), doReadRC(), dosetenv(), expandMacroTable(), fflagsFormat(), formatValue(), fpCacheCreate(), fsmFsPath(), fsmStage(), genChangelog(), genCpioListAndHeader(), grabData(), handleInstInstalledFiles(), headerAddI18NString(), headerAppendEntry(), headerCopyLoad(), headerInitIterator(), headerRead(), hexFormat(), htAddEntry(), htCreate(), loadFi(), machAddEquiv(), machCompatCacheAdd(), main(), makeGPGSignature(), makePGPSignature(), mireDup(), newOpenFileInfo(), newSl(), newSt(), newStringBuf(), octalFormat(), parseForLang(), parseRCPOT(), permsFormat(), pgpHexSet(), pgpPrtSig(), pgpPrtUserID(), printDepend(), printNewSpecfile(), psAppend(), psCreate(), psmStage(), pushMacro(), queryArgCallback(), readIcon(), readLine(), realDateFormat(), relocateFileList(), rpmdbInitIterator(), rpmdbRebuild(), rpmdepOrder(), rpmDigestFinal(), rpmGlob(), rpmInstallSourcePackage(), rpmioSlurp(), rpmProblemString(), rpmRebuildTargetVars(), rpmRunTransactions(), rpmSetVarArch(), rpmtransGetKeys(), shescapeFormat(), showQueryPackage(), splitString(), triggercondsTag(), triggertypeTag(), urlFind(), valueMakeInteger(), valueMakeString(), vfs_parse_ls_lga(), vrpmlog(), and XurlNew().  

    void* xrealloc (void * ptr, size_t size)

    Todo:
     Annotate ptr with returned/out.  

    Definition at line 45 of file rpmmalloc.c.

    References vmefail().

    Referenced by addCanon(), addDefault(), addFile(), alAddPackage(), alAllFileSatisfiesDepend(), alAllSatisfiesDepend(), appendStringBufAux(), buildArgCallback(), checkPackageDeps(), currentDirectory(), dbiAppendSet(), dbiTagsInit(), expandMacroTable(), formatValue(), fsmMkdirs(), ftpNLST(), getFilesystemList(), gidToGname(), gnameToGid(), handleInstInstalledFiles(), handleOverlappedFiles(), headerAddEntry(), headerAddI18NString(), headerAppendEntry(), headerSprintf(), htAddEntry(), IDTXgrow(), installArgCallback(), machAddEquiv(), machCompatCacheAdd(), main(), parseForLang(), psAppend(), queryArgCallback(), readLine(), relocateFileList(), removePackage(), rpmdbGrowIterator(), rpmdbSetIteratorRE(), rpmdepCheck(), rpmGlob(), rpmInstall(), rpmioSlurp(), rpmtransAddPackage(), showQueryPackage(), singleSprintf(), stashSt(), triggercondsTag(), uidToUname(), unameToUid(), urlFind(), and vrpmlog().  

    char* xstrdup (const char * str)

    Definition at line 55 of file rpmmalloc.c.

    References vmefail().

    Referenced by addCanon(), addDefault(), addFile(), addSource(), addTriggerIndex(), alAddPackage(), alAllFileSatisfiesDepend(), armorFormat(), base64Format(), buildArgCallback(), checkPackageDeps(), convertAMD(), cpio_doio(), db1basename(), dbiTagsInit(), depflagsFormat(), doLookup(), doSetupMacro(), dupAttrRec(), fflagsFormat(), forceIncludeFile(), formatValue(), fsmMakeLinks(), fsmStage(), generateDepends(), genSourceRpmName(), getFilesystemList(), getGidS(), getGname(), getGnameS(), getUidS(), getUname(), getUnameS(), handlePreambleTag(), headerSprintf(), hexFormat(), i18nTag(), IDTXglob(), ignoreDep(), instprefixTag(), loadFi(), machAddEquiv(), machCompatCacheAdd(), main(), mireDup(), newPackage(), octalFormat(), parseExpression(), parseExpressionBoolean(), parseExpressionString(), parseForSimple(), parseReqProv(), parseScript(), parseSpec(), permsFormat(), printNewSpecfile(), processPackageFiles(), processSourceFiles(), pushMacro(), rdToken(), readLine(), realDateFormat(), rpmExpand(), rpmGetPath(), rpmGlob(), rpmInitMacros(), rpmInstall(), rpmInstallSourcePackage(), rpmPermsString(), rpmQueryVerify(), rpmRangesOverlap(), rpmReadRC(), rpmRebuildTargetVars(), rpmSetMachine(), rpmSetVar(), rpmSetVarArch(), rpmtransCreateSet(), stashSt(), triggercondsTag(), triggertypeFormat(), triggertypeTag(), urlFind(), urlSplit(), writeLinkedFile(), and writeRPM().  

    VARIABLE DOCUMENTATION

     

    const char* __progname

    Definition at line 328 of file system.h.

    Referenced by argerror(), main(), and printUsage().  

    int errno

    Definition at line 93 of file system.h.

    Referenced by checkOwners(), checkPassPhrase(), chkdir(), cpioStrerror(), currentDirectory(), db1open(), db1sync(), db3open(), dbiOpen(), do_verifyGPGSignature(), doScript(), doUntar(), fdFgets(), fdReadable(), fdstat_exit(), fdWritable(), fdWrite(), fsmStage(), Fstrerror(), ftpLogin(), ftpReq(), getFilesystemList(), getHostAddress(), getOutputFrom(), httpReq(), makeGPGSignature(), makePGPSignature(), makeTempFile(), myftw(), myftw_dir(), packageBinaries(), processSourceFiles(), psmStage(), readLead(), rpmdbRebuild(), rpmGetFilesystemUsage(), rpmMkpath(), rpmQueryVerify(), runScript(), tcpConnect(), ufdRead(), ufdWrite(), urlStrerror(), and verifyPGPSignature().  

    AUTHOR

    Generated automatically by Doxygen for rpm from the source code.


     

    Index

    NAME
    SYNOPSIS
    Data Structures
    Defines
    Functions
    Variables
    DETAILED DESCRIPTION
    DEFINE DOCUMENTATION
    #define _(Text) Text
    #define bindtextdomain(Domain, Directory)
    #define dgettext(DomainName, Text) Text
    #define dirent direct
    #define EXIT_FAILURE 1
    #define F_OK 0
    #define GETMNTENT_ONE 1
    #define GETMNTENT_TWO 0
    #define lchown chown
    #define major(dev) (((dev) >> 8) & 0xff)
    #define makedev(maj, min) (((maj) << 8) | (min))
    #define minor(dev) ((dev) & 0xff)
    #define MOUNTED '/etc/mnttab'
    #define N_(Text) Text
    #define NLENGTH(direct) ((direct)->d_namlen)
    #define our_mntent struct our_mntent
    #define R_OK 4
    #define S_IFSOCK (0xc000)
    #define S_ISLNK(mode) ((mode & 0xf000) == S_IFLNK)
    #define S_ISSOCK(mode) ((mode & 0xf000) == S_IFSOCK)
    #define SEEK_CUR 1
    #define SEEK_END 2
    #define SEEK_SET 0
    #define setlocale(Category, Locale)
    #define setprogname(pn)
    #define textdomain(Domain)
    #define W_OK 2
    #define X_OK 1
    FUNCTION DOCUMENTATION
    char* alloca ()
    char* getenv (const char * name)
    struct our_mntent* getmntent (FILE * filep)
    char* memchr ()
    char* realpath (const char * path, char resolved_path[])
    int setenv (const char * name, const char * value, int replace)
    char* stpcpy (char * dest, const char * src)
    char* stpncpy (char * dest, const char * src, size_t n)
    void unsetenv (const char * name)
    void* vmefail (size_t size)
    void* xcalloc (size_t nmemb, size_t size)
    void* xmalloc (size_t size)
    void* xrealloc (void * ptr, size_t size)
    char* xstrdup (const char * str)
    VARIABLE DOCUMENTATION
    const char* __progname
    int errno
    AUTHOR


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




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

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