comp.lang.ada
 help / color / mirror / Atom feed
From: dvdeug@x8b4e53cd.dhcp.okstate.edu (David Starner)
Subject: Re: getpid(), atoi(), time functions in Ada 95
Date: 6 Sep 2000 04:01:55 GMT
Date: 2000-09-06T04:01:55+00:00	[thread overview]
Message-ID: <8p4fjj$8201@news.cis.okstate.edu> (raw)
In-Reply-To: t4ht5.10334$AW2.155007@news1.rdc2.pa.home.com

On Wed, 06 Sep 2000 01:27:53 GMT, K. Banerjee <kbanerje@rcn.com> wrote:
>Do these Unix/C functions have corresponding functions in Ada 95? (I'll be 
>working on Solaris.)

atoi is equivelent to 'Value; most of the time functions should have
analogs in the Ada.Calender package and elsewhere in the standard library;
but getpid doesn't since it's Unix-centric. You can either wrap the C 
getpid function (a moment's effort), or, if you need more extensive Unix
support, you can use Florist, an implementation of Posix.5.

-- 
David Starner - dstarner98@aasaa.ofe.org
http/ftp: dvdeug.dhis.org
I knew all of the floors in my high school, and none of the ceilings.
	- Chris Painter



      parent reply	other threads:[~2000-09-06  4:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-09-06  1:27 getpid(), atoi(), time functions in Ada 95 K. Banerjee
2000-09-06  3:16 ` Nick Roberts
2000-09-06 12:40   ` Larry Kilgallen
2000-09-06 14:19   ` Ted Dennison
2000-09-06 18:29     ` Marin David Condic
2000-09-06  4:01 ` David Starner [this message]
replies disabled

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