Skip to content

Commit

Permalink
Removed some unwanted comments
Browse files Browse the repository at this point in the history
  • Loading branch information
MedourMehdi committed Jan 18, 2025
1 parent df39c36 commit fa111d1
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions include/sys/sysinfo.h
Original file line number Diff line number Diff line change
@@ -1,28 +1,19 @@
#ifndef _SYS_SYSINFO_H
// #include_next <sys/sysinfo.h>
#define _SYS_SYSINFO_H


/* Now we define the internal interface. */

/* Return number of configured processors. */
// extern int __get_nprocs_conf (void);
extern int get_nprocs_conf (void);

/* Return number of available processors. */
// extern int __get_nprocs (void);
extern int get_nprocs (void);

/* Return number of physical pages of memory in the system. */
// extern long int __get_phys_pages (void);
extern long int get_phys_pages (void);

/* Return number of available physical pages of memory in the system. */
// extern long int __get_avphys_pages (void);
extern long int get_avphys_pages (void);

/* Return maximum number of processes this real user ID can have. */
// extern long int __get_child_max (void);
extern long int get_child_max (void);

#endif /* sys/sysinfo.h */

0 comments on commit fa111d1

Please sign in to comment.