home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / lang / ada / 2164 < prev    next >
Encoding:
Internet Message Format  |  1992-07-21  |  1.9 KB

  1. Path: sparky!uunet!gatech!pitt.edu!gvls1!lonjers
  2. From: lonjers@prc.unisys.com (Jim Lonjers)
  3. Newsgroups: comp.lang.ada
  4. Subject: Re: Unix System Calls in Ada
  5. Summary: POSIX
  6. Message-ID: <1992Jul21.045426.3643@gvl.unisys.com>
  7. Date: 21 Jul 92 04:54:26 GMT
  8. Sender: news@gvl.unisys.com (IEE news user)
  9. Organization: Paoli Research Center - Paoli, PA
  10. Lines: 43
  11. Nntp-Posting-Host: arbor.prc.unisys.com
  12.  
  13. In article <1992Jul16.163509.22447@sei.cmu.edu> jldh@sei.cmu.edu (Jorge Luis Diaz-Herrera) writes:
  14. >
  15. >In article <1992Jul16.143215.31211@europa.asd.contel.com>, king@ssvax.gte.com (Larry King) writes:
  16. >|> ...
  17. >|>     NOW I have been asked to implement system calls in Unix...
  18. >|> ...  What I need to know is how to issue a
  19. >|> system call that is not found in these.  What do I have to with, what
  20. >|> are the bindings, etc..  For example sake, the system call SETITIMER is
  21. >|> one that I must do.  Can anyone help me in this task????   
  22. >|> 
  23. >|> Thanks in advance
  24. >|> 
  25. >|> --
  26. >|> Larry King
  27. >|> GTE Government Systems, Needham, MA            (617) 455-3384 
  28. >|> E-Mail : king%ssvax.dnet@get.com
  29. >
  30. >This is very very implementation dependent.
  31. >
  32. >VADS provides several unix-related service packages: look at "unix_prcs", here
  33. >    they offer ways to do process operations, such as:
  34. >    function execute (cmd : string) return integer;
  35. >        -- which will interpret 'cmd' as a unix (shell) command. Or
  36. >    function spawn (cmd : string) return integer;
  37. >
  38. >Alsys also provides similar facilities: E.g.,
  39. >    SYSTEM_ENVIRONMENT.EXEC_SHELL_COMMAND ("sort -u i.file > o.file");
  40. >
  41. >Look at your vendor's literature.
  42. >
  43. >jld-h
  44. >--..--
  45. >
  46.  
  47. Talk to your favorite Ada vendor about the availability of POSIX Ada (IEEE
  48. P1003.5) bindings.  Many vendors have/are currently producing such bindings
  49. and yours may have them available.
  50.  
  51. The POSIX Ada bindings were accepted as an IEEE standard about a month ago
  52. and will be an ANSI standard "real soon now."
  53.  
  54. Jim Lonjers
  55. Chair, POSIX Ada Standards Working Group (IEEE P1003.5)
  56.