Topic : The ATARI Compendium
Author : Scott Sanders / JAY Software
Version : 1.25 (20/6/2003)
Subject : Documentation
Nodes : 1117
Index Size : 32614
HCP-Version : 6
Compiled on : Atari
@charset : UTF-8
@lang : en
@default :
@help : %About
@options : +g -i -t4 +y +z
@width : 100
View Ref-FileLoadable File Systems
MiNT
GEMDOS
FILESYS Structures
typedef struct
{
struct filesys *next;
LONG fsflags;
LONG (*root)( WORD drv, fcookie *fc );
LONG (*lookup)( fcookie *dir, char *name, fcookie *fc );
LONG (*creat)( fcookie *dir, char *name, UWORD mode,
WORD attrib, fcookie *fc );
DEVDRV *(*getdev)( fcookie *fc, LONG *devspecial );
LONG (*getxattr)( fcookie *file, XATTR *xattr );
LONG (*chattr)( fcookie *file, WORD attr );
LONG (*chown)( fcookie *file, WORD uid, WORD gid );
LONG (*chmode)( fcookie *file, WORD mode );
LONG (*mkdir)( fcookie *dir, char *name, UWORD mode );
LONG (*rmdir)( fcookie *dir, char *name );
LONG (*remove)( fcookie *dir, char *name );
LONG (*getname)( fcookie *relto, fcookie *dir, char *pathname );
LONG (*rename)( fcookie *olddir, fcookie *oldname,
fcookie *newdir, fcookie *newname );
LONG (*opendir)( DIR *dirh, WORD tosflag );
LONG (*readdir)( DIR *dirh, char *name, WORD namelen,
fcookie *fc );
LONG (*rewinddir)( DIR *dirh );
LONG (*closedir)( DIR *dirh );
LONG (*pathconf)( fcookie *dir, WORD which );
LONG (*dfree)( fcookie *dir, long *buf );
LONG (*writelabel)( fcookie *dir, char *name );
LONG (*readlabel)( fcookie *dir, char *name );
LONG (*symlink)( fcookie *dir, char *name, char *to );
LONG (*readlink)( fcookie *file, char *buf, short buflen );
LONG (*hardlink)( fcookie *fromdir, char *fromname,
fcookie *todir, char *toname );
LONG (*fscntl)( fcookie *dir, char *name, WORD cmd, LONG arg );
LONG (*dskchng)( WORD dev );
LONG zero;
} FILESYS;
See also: Loadable File Systems, MiNT, GEMDOS