•  Back 
  •  Structures 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  %About 
  •  Show info about hypertext 
  •  View a new file 
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
kerinfo                                                          Structures

struct kerinfo
{
    WORD    maj_version;
    WORD    min_version;
    UWORD   default_mode;
    WORD    reserved1;

    Func    *bios_tab;
    Func    *dos_tab;

    VOID    (*drvchng)( UWORD dev );

    VOID    (*trace)( char *, ... );
    VOID    (*debug)( char *, ... );
    VOID    (*alert)( char *, ... );
    VOID    (*fatal)( char *, ... );

    VOIDP   (*kmalloc)( LONG size );
    VOID    (*kfree)( VOIDP memptr );
    VOIDP   (*umalloc)( LONG size );
    VOID    (*ufree)( LONG memptr );

    WORD    (*strnicmp)( char *str1, char *str2, WORD maxsrch );
    WORD    (*stricmp)( char *str1, char *str2 );
    char *  (*strlwr)( char *str );
    char *  (*strupr)( char *str );
    WORD    (*sprintf)( char *strbuf, const char *fmtstr, ... );

    VOID    (*millis_time)( ULONG ms, WORD *td );
    LONG    (*unixtim)( UWORD time, UWORD date );
    LONG    (*dostim)( LONG unixtime );

    VOID    (*nap)( UWORD n );
    VOID    (*sleep)( WORD que, WORD cond );
    VOID    (*wake)( WORD que, WORD cond );
    VOID    (*wakeselect)( LONG proc );

    WORD    (*denyshare)( FILEPTR *list, FILEPTR *f );
    LOCK *  (*denylock)( LOCK *list, LOCK *new );

    LONG    res2[9];

};

See also: Loadable File Systems, MiNT, GEMDOS