diff --git a/man2/getrlimit.2 b/man2/getrlimit.2 index c6b6e4b08..ec9dfcb92 100644 --- a/man2/getrlimit.2 +++ b/man2/getrlimit.2 @@ -126,7 +126,8 @@ argument must be one of: .TP .B RLIMIT_AS This is the maximum size of the process's virtual memory -(address space) in bytes. +(address space). +The limit is specified in bytes, and is rounded down to the system page size. .\" since 2.0.27 / 2.1.12 This limit affects calls to .BR brk (2), @@ -176,9 +177,10 @@ perform an orderly termination upon first receipt of .BR SIGXCPU .) .TP .B RLIMIT_DATA -This is the maximum size (in bytes) +This is the maximum size of the process's data segment (initialized data, uninitialized data, and heap). +The limit is specified in bytes, and is rounded down to the system page size. This limit affects calls to .BR brk (2) and