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  <br...@clisp.org>

        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