AminetAminet
Search:
84510 packages online
About
Recent
Browse
Search
Upload
Setup
Services

dev/c/GimmeDir.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:Routines for reading directory contents. C source.
Author:dancab at polbox.com (Daniel Mealha Cabrita)
Uploader:dancab polbox com (Daniel Mealha Cabrita)
Type:dev/c
Architecture:m68k-amigaos
Date:1998-06-21
Download:http://aminet.net/dev/c/GimmeDir.lha - View contents
Readme:http://aminet.net/dev/c/GimmeDir.readme
Downloads:801

    Well.. the C language itself has no commands for reading
 directory contents. Sad, isn't it?

    Reading directory contents is useful when your program process
 several files at once (as a file packer, a file converter,
 a music player, a backup utility, etc...).

    What about using directly dos.library functions?! AAaRRRgGHh!!!!!!


    So i decided to make myself some routines for all this, offering
 the simplest possible programmer interface while maintaining most (all?)
 of the possibilities regarding directory reading.


    In this package you'll find the following files:

    GimmeDir.c       - the routines themselves, WITH COMMENTS.
    GimmeDir.h       - header file
    ExampleProgram.c - an example program so you can learn how to
                       use these routines (as if it were difficult!)


 BUGS: None i'm aware of.


 * Minimum required: AmigaOS 2.0 and an ANSI C compiler
                     with OS2.0 includes.


 .dan


Contents of dev/c/GimmeDir.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                  467     797  58.6% -lh5- f94c Jun 19  1998 ExampleProgram.c
[generic]                 1582    4550  34.8% -lh5- a920 Jun 19  1998 GimmeDir.c
[generic]                  508    1046  48.6% -lh5- 69bb Jun 19  1998 GimmeDir.h
[generic]                  608    1146  53.1% -lh5- b70b Jun 20  1998 GimmeDir.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         4 files    3165    7539  42.0%            Jun 21  1998

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>