(root)/
glibc-2.38/
include/
sys/
sysinfo.h
       1  #ifndef _SYS_SYSINFO_H
       2  #include_next <sys/sysinfo.h>
       3  
       4  # ifndef _ISOMAC
       5  
       6  /* Now we define the internal interface.  */
       7  
       8  /* Return number of configured processors.  */
       9  extern int __get_nprocs_conf (void);
      10  libc_hidden_proto (__get_nprocs_conf)
      11  
      12  /* Return number of available processors (not all of them will be
      13     available to the caller process).  */
      14  extern int __get_nprocs (void);
      15  libc_hidden_proto (__get_nprocs)
      16  
      17  /* Return the number of available processors which the process can
      18     be scheduled.  */
      19  extern int __get_nprocs_sched (void) attribute_hidden;
      20  
      21  /* Return number of physical pages of memory in the system.  */
      22  extern long int __get_phys_pages (void);
      23  libc_hidden_proto (__get_phys_pages)
      24  
      25  /* Return number of available physical pages of memory in the system.  */
      26  extern long int __get_avphys_pages (void);
      27  libc_hidden_proto (__get_avphys_pages)
      28  
      29  /* Return maximum number of processes this real user ID can have.  */
      30  extern long int __get_child_max (void) attribute_hidden;
      31  
      32  # endif /* !_ISOMAC */
      33  #endif /* sys/sysinfo.h */