[lkml]   [2020]   [Sep]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
SubjectAW: [PATCH 17/24] get_phys_pages.3: Write 'long' instead of 'long int'

sys/sysinfo.h:extern long int get_phys_pages (void)

for the real world i would say that long int == long but for the same reason
i would say what the include says and stay away from discussions.

Von: [] im Auftrag von Alejandro Colomar []
Gesendet: Donnerstag, 10. September 2020 23:13
Cc:;; Alejandro Colomar
Betreff: [PATCH 17/24] get_phys_pages.3: Write 'long' instead of 'long int'

For consistency.

Most man pages use 'long' instead of 'long int'.

Signed-off-by: Alejandro Colomar <>
man3/get_phys_pages.3 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/man3/get_phys_pages.3 b/man3/get_phys_pages.3
index 4a9177dfd..97ba625b7 100644
--- a/man3/get_phys_pages.3
+++ b/man3/get_phys_pages.3
@@ -30,8 +30,8 @@ page counts
.B "#include <sys/sysinfo.h>"
-.B long int get_phys_pages(void);
-.B long int get_avphys_pages(void);
+.B long get_phys_pages(void);
+.B long get_avphys_pages(void);
The function
 \ /
  Last update: 2020-09-11 18:26    [W:1.233 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site