home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gatech!pitt.edu!gvls1!lonjers
- From: lonjers@prc.unisys.com (Jim Lonjers)
- Newsgroups: comp.lang.ada
- Subject: Re: Unix System Calls in Ada
- Summary: POSIX
- Message-ID: <1992Jul21.045426.3643@gvl.unisys.com>
- Date: 21 Jul 92 04:54:26 GMT
- Sender: news@gvl.unisys.com (IEE news user)
- Organization: Paoli Research Center - Paoli, PA
- Lines: 43
- Nntp-Posting-Host: arbor.prc.unisys.com
-
- In article <1992Jul16.163509.22447@sei.cmu.edu> jldh@sei.cmu.edu (Jorge Luis Diaz-Herrera) writes:
- >
- >In article <1992Jul16.143215.31211@europa.asd.contel.com>, king@ssvax.gte.com (Larry King) writes:
- >|> ...
- >|> NOW I have been asked to implement system calls in Unix...
- >|> ... What I need to know is how to issue a
- >|> system call that is not found in these. What do I have to with, what
- >|> are the bindings, etc.. For example sake, the system call SETITIMER is
- >|> one that I must do. Can anyone help me in this task????
- >|>
- >|> Thanks in advance
- >|>
- >|> --
- >|> Larry King
- >|> GTE Government Systems, Needham, MA (617) 455-3384
- >|> E-Mail : king%ssvax.dnet@get.com
- >
- >This is very very implementation dependent.
- >
- >VADS provides several unix-related service packages: look at "unix_prcs", here
- > they offer ways to do process operations, such as:
- > function execute (cmd : string) return integer;
- > -- which will interpret 'cmd' as a unix (shell) command. Or
- > function spawn (cmd : string) return integer;
- >
- >Alsys also provides similar facilities: E.g.,
- > SYSTEM_ENVIRONMENT.EXEC_SHELL_COMMAND ("sort -u i.file > o.file");
- >
- >Look at your vendor's literature.
- >
- >jld-h
- >--..--
- >
-
- Talk to your favorite Ada vendor about the availability of POSIX Ada (IEEE
- P1003.5) bindings. Many vendors have/are currently producing such bindings
- and yours may have them available.
-
- The POSIX Ada bindings were accepted as an IEEE standard about a month ago
- and will be an ANSI standard "real soon now."
-
- Jim Lonjers
- Chair, POSIX Ada Standards Working Group (IEEE P1003.5)
-