Back to index

glibc  2.9
Functions
getsysstats.c File Reference
#include <errno.h>
#include <sys/sysinfo.h>
#include <stub-tag.h>

Go to the source code of this file.

Functions

int __get_nprocs_conf ()
 weak_alias (__get_nprocs_conf, link_warning(get_nprocs_conf)
 weak_alias (__get_nprocs, link_warning(get_nprocs)
 weak_alias (__get_phys_pages, get_phys_pages)

Function Documentation

int __get_nprocs_conf ( void  )

Definition at line 25 of file getsysstats.c.

{
  /* We don't know how to determine the number.  Simply return always 1.  */
  return 1;
}
weak_alias ( __get_nprocs_conf  ,
link_warning get_nprocs_conf 
)

Definition at line 30 of file getsysstats.c.

                                       : get_nprocs_conf will always return 1")



int
__get_nprocs ()
{
  /* We don't know how to determine the number.  Simply return always 1.  */
  return 1;
}
weak_alias ( __get_nprocs  ,
link_warning get_nprocs 
)

Definition at line 42 of file getsysstats.c.

                                  : get_nprocs will always return 1")


long int
__get_phys_pages ()
{
  /* We have no general way to determine this value.  */
  __set_errno (ENOSYS);
  return -1;
}

Definition at line 54 of file getsysstats.c.

{
  /* We have no general way to determine this value.  */
  __set_errno (ENOSYS);
  return -1;
}