comp.lang.ada
 help / color / mirror / Atom feed
From: Samuel Tardieu <sam@ada.eu.org>
To: Robert Jordan <robert.l.jordan@boeing.com>
Subject: Re: MMAP in ADA?
Date: 1999/11/05
Date: 1999-11-05T10:35:05+00:00	[thread overview]
Message-ID: <87so2lfcpy.fsf@antinea.enst.fr> (raw)
In-Reply-To: 38223922.7763122E@boeing.com

>>>>> "Robert" == Robert Jordan <robert.l.jordan@boeing.com> writes:

Robert> And yes... I know I could just pragma import the unix mmap
Robert> function, but I'm trying to avoid all imports in my ADA code
Robert> (Per instruction).

How do you do this in C then? You cannot mmap() without leaving the C
language as you are using a library function and mmap() does not
belong to the C standard.

According to my Debian manpage, mmap() belongs to:

CONFORMING TO
       SVr4, POSIX.1b (formerly POSIX.4), 4.4BSD.  Svr4 documents
       additional error codes ENXIO and ENODEV.

  Sam
-- 
Samuel Tardieu -- sam@ada.eu.org




  parent reply	other threads:[~1999-11-05  0:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-05  0:00 MMAP in ADA? Robert Jordan
1999-11-04  0:00 ` David C. Hoos, Sr.
1999-11-08  0:00   ` Nick Roberts
1999-11-05  0:00 ` Samuel Tardieu [this message]
1999-11-05  0:00 ` Robert Dewar
1999-11-05  0:00   ` Robert Jordan
1999-11-06  0:00     ` Robert Dewar
1999-11-08  0:00       ` Samuel T. Harris
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox