MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Kernel Functions for Drivers            csxParseCISTPLDATE(9F)



NAME
     csxParseCISTPLDATE - parse the Card  Initialization  Date
     tuple

SYNOPSIS
     #include 



     int32t csxParseCISTPLDATE(clienthandlet ch, tuplet *tu,
          cistpldatet *cd);


INTERFACE LEVEL
     Solaris DI Specific (Solaris DI)

PARAMETERS
     ch    Client handle returned from csxRegisterClient(9F).


     tu    Pointer  to  a  tuplet  structure   (see   tuple(9S))
           returned   by   a  call  to  csxGetFirstTuple(9F)  or
           csxGetNextTuple(9F).


     cd    Pointer to a cistpldatet  structure  which  contains
           the  parsed  CISTPLDATE tuple information upon return
           from this function.


DESCRIPTION
     This function parses the  Card  Initialization  Date  tuple,
     CISTPLDATE, into a form usable by PC Card drivers.


     The CISTPLDATE tuple is an optional tuple. It indicates the
     date  and  time  at  which  the card was formatted. Only one
     CISTPLDATE tuple is allowed per PC Card.

STRUCTURE MEMBERS
     The structure members of cistpldatet are:

       uint32t     time;
       uint32t     day



     The fields are defined as follows:

     time    This field indicates the time at which the  PC  Card
             was initialized.




SunOS 5.11          Last change: 20 Dec 1996                    1






Kernel Functions for Drivers            csxParseCISTPLDATE(9F)



     day     This field indicates the date the PC Card  was  ini-
             tialized.


RETURN VALUES
     CSUCES                 Successful operation.


     CSBADHANDLE              Client handle is invalid.


     CSUNKNOWNTUPLE           Parser does not know how to parse
                                tuple.


     CSNOCARD                 No PC Card in socket.


     CSNOCIS                  No  Card  Information   Structure
                                (CIS) on PC Card.


     CSUNSUPORTEDFUNCTION    No PCMCIA hardware installed.


CONTEXT
     This function may be called from user or kernel context.

SEE ALSO
     csxGetFirstTuple(9F),                 csxGetTupleData(9F),
     csxRegisterClient(9F), csxValidateCIS(9F), tuple(9S)


     PC Card 95 Standard, PCMCIA/JEIDA





















SunOS 5.11          Last change: 20 Dec 1996                    2



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™