


tpeek_attr(3N)                                     tpeek_attr(3N)


NNAAMMEE
       t6peek_attr, t6last_attr - examine the security attributes
       on the next/previous byte of data

SSYYNNOOPPSSIISS
       cccc [ _f_l_a_g_s ... ] _f_i_l_e  ...  --lltt66

       ##iinncclluuddee <<ttssiixx//tt66aattttrrss..hh>>

       iinntt tt66ppeeeekk__aattttrr((iinntt ffdd,, tt66aattttrr__tt aattttrr__ppttrr,, tt66mmaasskk__tt **nneeww__aattttrrss))

       iinntt tt66llaasstt__aattttrr((iinntt ffdd,, tt66aattttrr__tt aattttrr__ppttrr,, tt66mmaasskk__tt **nneeww__aattttrrss))

DDEESSCCRRIIPPTTIIOONN
       tt66ppeeeekk__aattttrr allows a process to peek ahead at the security
       attributes of the next byte of data.  ffdd is the descriptor
       of the endpoint, aattttrr__ppttrr specifies a structure  in  which
       to  store  those attributes the caller wishes to retrieve.
       nneeww__aattttrrss points to a mask that indicates which attributes
       were actually retrieved on return from tt66ppeeeekk__aattttrr.

       tt66llaasstt__aattttrr allows a process to retrieve the attributes of
       the last  byte  of  data  read  from  the  indicated  file
       descriptor.    Its   parameters   are   identical  to  the
       tt66ppeeeekk__aattttrr routine.

RREETTUURRNN VVAALLUUEE
       On successful completion these calls return 00,  place  the
       retrieved  security  attributes in the tt66aattttrr__tt structure,
       and set **nneeww__aattttrrss to the mask of those  attributes  actu-
       ally  returned.  If either call encounters an error, --11 is
       returned.    Errors   generated   by    tt66ppeeeekk__aattttrr    and
       tt66llaasstt__aattttrrss are indicated by the global variable eerrrrnnoo.

SSEEEE AALLSSOO
       lliibbtt66(3N)

NNOOTTEESS



















TSIX(RE) 1.1               12 Nov 1995                          1


