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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,e192ac15f020bc69 X-Google-Attributes: gid103376,public From: gisle@apal.ii.uib.no (Gisle S�lensminde) Subject: Re: Filedate & Fileinfo? Date: 2000/04/07 Message-ID: #1/1 X-Deja-AN: 607927684 Content-Transfer-Encoding: 8bit References: <8ck7qr$296d$2@news.nikoma.de> Organization: University of Bergen, Norway Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 2000-04-07T00:00:00+00:00 List-Id: In article <8ck7qr$296d$2@news.nikoma.de>, Heiko Ottenbacher wrote: > Hello, > >i am looking for a procedure/library to get the filedate and several >fileinfos (size...) about a specific file. This has to be done on a >UNIX/Linux Environment. > >I already asked that some months ago, but due to a headcrash I lost all the >URLS I collected. So please tell me again.... > >Answer by email prefered, plz! If you got an answer here some months ago, you could serach for it on www.deja.com, since they records all news messages on this and other usenet groups. To answer your question: You could either use the florist POSIX binding. Since you use Linux you can install the RPM found on ALT's pages (http://www.gnuada.org/alt.html). Alternativly you can look up the necessary system calls in the manual pages (or a book) and interface them from Ada, using interfaces.c. > >TNX! Heiko > > -- -- Gisle S�lensminde ( gisle@ii.uib.no ) ln -s /dev/null ~/.netscape/cookies