cfengine  3.15.4
About: CFEngine is a configuration management system for configuring and maintaining Unix-like computers (using an own high level policy language). Community version.
  Fossies Dox: cfengine-3.15.4.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

getloadavg.c File Reference
#include <config.h>
#include <sys/types.h>
#include <errno.h>
#include <stdio.h>
#include <sys/file.h>
Include dependency graph for getloadavg.c:

Go to the source code of this file.

Functions

int getloadavg (double loadavg[], int nelem)
 
int getloadavg (loadavg, int nelem)
 

Variables

int errno
 

Function Documentation

◆ getloadavg() [1/2]

int getloadavg ( double  loadavg[],
int  nelem 
)

◆ getloadavg() [2/2]

int getloadavg ( loadavg  ,
int  nelem 
)

Definition at line 497 of file getloadavg.c.

References errno, and NULL.

Variable Documentation

◆ errno

int errno
extern

Referenced by Apoptosis(), cf_pwait(), cf_remote_stat(), CfCreateFile(), CleanPidFile(), closefrom(), CopyFileExtendedAttributesDisk(), CopyRegularFile(), CreateEmptyFile(), CryptoDeInitialize(), DeleteDirectoryTreeInternal(), DetermineCfenginePort(), DirOpen(), DirRead(), extension_library_open(), fchmodat_inner(), File_Copy(), FileReadFromFd(), FnCallClassFilterCsv(), FnCallFileStatDetails(), FullRead(), FullWrite(), generic_at_function(), GenericAgentInitialize(), GenericCreatePipeAndFork(), GetCPUInfo(), getdelim(), GetErrorStr(), GetGrEntry(), GetGroupInfo(), getloadavg(), GetMacAddress(), GetPasswordHash(), GetProcessStat(), GetProcessState(), GetPwEntry(), GetUptimeSeconds(), GracefulTerminate(), inet_ntop(), inet_ntop4(), inet_ntop6(), inet_pton(), InsertFileAtLocation(), InvalidateSoftwareCache(), IsPartition(), IsProcessRunning(), IsStackedDevice(), KeepFileAccessPromise(), KillLockHolder(), LastRecvTimedOut(), LockFD(), MailResult(), MakeParentDirectory(), MasterfileExists(), mkdtemp(), NewPackageModuleWrapper(), PackageListInstalledFromCommand(), PipeReadData(), PreprocessRequestPath(), ProcessWaitUntilExited(), ProcessWaitUntilStopped(), PurgeLocalFiles(), putenv_wrapper(), RecvSocketStream(), RemoveAllExistingPolicyInInputs(), RemovePublicKey(), rpl_vsnprintf(), safe_fopen_create_perms(), safe_open_create_perms(), safe_open_true_parent_dir(), SafeKill(), SendSocketStream(), ServerConnection(), setenv_wrapper(), ShellCommandReturnsZero(), SignalNotify(), SpawnConnection(), StatFromCache(), StringToInt64(), StringToLong(), TLSLogError(), TransformGidsToGroups(), TraverseDirectoryTreeInternal(), TryConnect(), UpdateSinglePackageModuleCache(), VerifyDelete(), VerifyFilePromise(), VerifyIfUserNeedsModifs(), VerifyOneUsersPromise(), WaitForBackgroundProcesses(), WaitForIncoming(), and yy_init_buffer().