home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3n / t6dup_attr.z / t6dup_attr
Encoding:
Text File  |  2001-04-17  |  2.7 KB  |  67 lines

  1.  
  2.  
  3.  
  4. tttt6666dddduuuupppp____aaaattttttttrrrr((((3333NNNN))))                                                  tttt6666dddduuuupppp____aaaattttttttrrrr((((3333NNNN))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      t6dup_attr - duplicate security attributes
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      cc [ flags ... ] file ...
  13.  
  14.      #include <sys/t6attrs.h>
  15.  
  16.      tttt6666aaaattttttttrrrr____tttt tttt6666dddduuuupppp____aaaattttttttrrrr((((ccccoooonnnnsssstttt tttt6666aaaattttttttrrrr____tttt ssssrrrrcccc))))
  17.  
  18. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  19.      tttt6666dddduuuupppp____aaaattttttttrrrr allocates a new tttt6666aaaattttttttrrrr____tttt control structure and buffer space
  20.      large enough to hold the set of security attributes in the tttt6666aaaattttttttrrrr____tttt
  21.      control structure ssssrrrrcccc which is passed in as an argument.  It then copies
  22.      that set of attributes specified by ssssrrrrcccc into the newly allocated
  23.      structure.  Upon successful completion, the newly created tttt6666aaaattttttttrrrr____tttt handle
  24.      is returned.
  25.  
  26.      Also note that tttt6666dddduuuupppp____aaaattttttttrrrr((((ssssrrrrcccc)))) is equivalent to tttt6666dddduuuupppp____bbbbllllkkkk((((ssssrrrrcccc)))).
  27.  
  28.  
  29. RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
  30.      _N_U_L_L is returned and eeeerrrrrrrrnnnnoooo is set to an appropriate value, if tttt6666dddduuuupppp____aaaattttttttrrrr
  31.      is unable to allocate sufficient memory for the new attributes. Upon
  32.      successful completion, a new tttt6666aaaattttttttrrrr____tttt handle is returned.
  33.  
  34. EEEERRRRRRRROOOORRRR
  35.      [_E_N_O_M_E_M]       _t_6_d_u_p__a_t_t_r was unable to allocate enough memory for the
  36.                     requested attribute block.
  37.  
  38. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  39.      lllliiiibbbbtttt6666((((3333NNNN)))), tttt6666aaaalllllllloooocccc____bbbbllllkkkk((((3333NNNN)))) and tttt6666dddduuuupppp____bbbbllllkkkk((((3333nnnn))))
  40.  
  41. NNNNOOOOTTTTEEEESSSS
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.                                                                         PPPPaaaaggggeeee 1111
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.