mirror of
https://github.com/cc65/cc65.git
synced 2024-12-25 02:29:52 +00:00
Rename dir_file_count to dir_entry_count
This commit is contained in:
parent
40d9f3eed5
commit
700c01fa8b
@ -332,7 +332,7 @@ usage.
|
||||
<item>_datetime
|
||||
<item>allow_lowercase
|
||||
<item>beep
|
||||
<item>dir_file_count
|
||||
<item>dir_entry_count
|
||||
<item>get_ostype
|
||||
<item>gmtime_dt
|
||||
<item>mktime_dt
|
||||
|
@ -332,7 +332,7 @@ usage.
|
||||
<item>_filetype
|
||||
<item>_datetime
|
||||
<item>beep
|
||||
<item>dir_file_count
|
||||
<item>dir_entry_count
|
||||
<item>get_ostype
|
||||
<item>gmtime_dt
|
||||
<item>mktime_dt
|
||||
|
@ -97,7 +97,7 @@ function.
|
||||
<item>_dos_type
|
||||
<item>allow_lowercase
|
||||
<item><ref id="beep" name="beep">
|
||||
<item><ref id="dir_file_count" name="dir_file_count">
|
||||
<item><ref id="dir_entry_count" name="dir_entry_count">
|
||||
<item><ref id="get_ostype" name="get_ostype">
|
||||
<item><ref id="gmtime_dt" name="gmtime_dt">
|
||||
<item><ref id="mktime_dt" name="mktime_dt">
|
||||
@ -110,7 +110,7 @@ function.
|
||||
<itemize>
|
||||
<item>_dos_type
|
||||
<item><ref id="beep" name="beep">
|
||||
<item><ref id="dir_file_count" name="dir_file_count">
|
||||
<item><ref id="dir_entry_count" name="dir_entry_count">
|
||||
<item><ref id="get_ostype" name="get_ostype">
|
||||
<item><ref id="gmtime_dt" name="gmtime_dt">
|
||||
<item><ref id="mktime_dt" name="mktime_dt">
|
||||
@ -3526,16 +3526,16 @@ used in presence of a prototype.
|
||||
</quote>
|
||||
|
||||
|
||||
<sect1>dir_file_count<label id="dir_file_count"><p>
|
||||
<sect1>dir_entry_count<label id="dir_entry_count"><p>
|
||||
|
||||
<quote>
|
||||
<descrip>
|
||||
<tag/Function/Returns the number of files in the directory.
|
||||
<tag/Function/Returns the number of entries in the directory.
|
||||
<tag/Header/<tt/<ref id="apple2.h" name="apple2.h">/
|
||||
<tag/Declaration/<tt/unsigned int __fastcall__ dir_file_count(DIR *dir);/
|
||||
<tag/Description/<tt/dir_file_count/ is machine dependent and does not exist for
|
||||
<tag/Declaration/<tt/unsigned int __fastcall__ dir_entry_count(DIR *dir);/
|
||||
<tag/Description/<tt/dir_entry_count/ is machine dependent and does not exist for
|
||||
all supported targets. If it exists, it returns the number of active
|
||||
(non-deleted) files in the directory.
|
||||
(non-deleted) files and directories in the directory.
|
||||
<tag/Notes/<itemize>
|
||||
<item>The function does not exist on all platforms.
|
||||
</itemize>
|
||||
|
@ -234,7 +234,7 @@ time_t __fastcall__ mktime_dt (const struct datetime* dt);
|
||||
|
||||
typedef struct DIR DIR;
|
||||
|
||||
unsigned int __fastcall__ dir_file_count(DIR *dir);
|
||||
unsigned int __fastcall__ dir_entry_count(DIR *dir);
|
||||
/* Returns the number of active files in a ProDOS directory */
|
||||
|
||||
#if !defined(__APPLE2ENH__)
|
||||
|
@ -1,17 +1,17 @@
|
||||
;
|
||||
; Colin Leroy-Mira <colin@colino.net>, 2024
|
||||
;
|
||||
; unsigned int __fastcall__ dir_file_count(DIR *dir);
|
||||
; unsigned int __fastcall__ dir_entry_count(DIR *dir);
|
||||
;
|
||||
|
||||
.export _dir_file_count
|
||||
.export _dir_entry_count
|
||||
|
||||
.importzp ptr1
|
||||
|
||||
.include "apple2.inc"
|
||||
.include "dir.inc"
|
||||
|
||||
.proc _dir_file_count
|
||||
.proc _dir_entry_count
|
||||
sta ptr1
|
||||
stx ptr1+1
|
||||
|
Loading…
Reference in New Issue
Block a user