bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

vma-iter on AIX


From: Bruno Haible
Subject: vma-iter on AIX
Date: Wed, 15 Mar 2017 00:17:31 +0100
User-agent: KMail/5.1.3 (Linux/4.4.0-66-generic; KDE/5.18.0; x86_64; ; )

Just found out that there is a /proc directory on AIX. But it cannot be used to
implement the 'vma-iter' functionality.


2017-03-14  Bruno Haible  <address@hidden>

        vma-iter: Add comment about AIX.
        * lib/vma-iter.c: Add comment about why this module is not implemented
        on AIX.

diff --git a/lib/vma-iter.c b/lib/vma-iter.c
index d5ff6ff..07244d3 100644
--- a/lib/vma-iter.c
+++ b/lib/vma-iter.c
@@ -49,6 +49,10 @@
 # include <sys/mman.h> /* mquery */
 #endif
 
+/* Note: On AIX, there is a /proc/$pic/map file, that contains records of type
+   prmap_t, defined in <sys/procfs.h>.  But it lists only the virtual memory
+   areas that are connected to a file, not the anonymous ones.  */
+
 
 /* Support for reading text files in the /proc file system.  */
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]