diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2001-11-02 11:30:42 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2001-11-02 11:30:42 +0000 |
| commit | b4e471b90f565f1689caacba27a45fb4ffef98b9 (patch) | |
| tree | e330a16922ad9499c600cbf21cdb25e9e44f1325 /lib/libc | |
| parent | 60e11469dda2c606bb1fcf266d32144d21aea570 (diff) | |
Notes
Diffstat (limited to 'lib/libc')
| -rw-r--r-- | lib/libc/gen/getpagesize.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/libc/gen/getpagesize.c b/lib/libc/gen/getpagesize.c index 556ff9e032da..0087feb6b91e 100644 --- a/lib/libc/gen/getpagesize.c +++ b/lib/libc/gen/getpagesize.c @@ -29,6 +29,8 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. + * + * $FreeBSD$ */ #if defined(LIBC_SCCS) && !defined(lint) @@ -41,6 +43,9 @@ static char sccsid[] = "@(#)getpagesize.c 8.1 (Berkeley) 6/4/93"; /* * This is unlikely to change over the running time of any * program, so we cache the result to save some syscalls. + * + * NB: This function may be called from malloc(3) at initialization + * NB: so must not result in a malloc(3) related call! */ int |
