From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,92640d662fc31a03 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-05-08 04:16:51 PST Path: newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.cwix.com!sjc-peer.news.verio.net!news.verio.net!iad-read.news.verio.net.POSTED!kilgallen From: Kilgallen@eisner.decus.org.nospam (Larry Kilgallen) Newsgroups: comp.lang.ada Subject: Re: howto make system calls (newbie question) Message-ID: References: <9d6c89$1nd$1@nh.pace.co.uk> <9d87id$oll15@news.kvaerner.com> Organization: LJK Software Date: 8 May 2001 07:16:45 -0500 NNTP-Posting-Host: 216.44.122.34 X-Complaints-To: abuse@verio.net X-Trace: iad-read.news.verio.net 989320610 216.44.122.34 (Tue, 08 May 2001 11:16:50 GMT) NNTP-Posting-Date: Tue, 08 May 2001 11:16:50 GMT Xref: newsfeed.google.com comp.lang.ada:7314 Date: 2001-05-08T07:16:45-05:00 List-Id: In article <9d87id$oll15@news.kvaerner.com>, "Tarjei T. Jensen" writes: > > Marin David Condic wrote in message <9d6c89$1nd$1@nh.pace.co.uk>... >>Its nice to find myself being totally agreed with! :-) Maybe you can expand >>on the idea. What sort of standard libraries would you like to see in Ada? > > The obvious ones. E.g. console I/O, adafied sockets, buffered I/O, national > language support (NLS), turbo pascal style strings, NLS string comparison, > file utilities (expand wildcards, get file names from a directory, delete > file, set file protection, etc), dynamic library support (load library, > symbols under program control), standard datatypes for system calls, > standard datatypes for the C library. Console I/O - secure operating systems are likely to prevent a program run by an ordinary user from accessing the console, to prevent password grabbing attacks against the operator. Turbo Poascal style strings - please describe. Given Ada String, Bounded String and Unbounded Strings, I am hard-pressed to thing of capabilities that are missing. Set File Protection - this certainly cannot be made uniform across operating systems. VMS has SOGW, Unix (at least some) have one fewer. A major way operating systems distinguish themselves is by differences in their ACLs. Standard datatypes for system calls - And what good will a VMS-style descriptor do me on a Unix system ?