home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / gnu / ixemul-39.47-env-bin.lha / man / cat3 / valloc.0 < prev    next >
Text File  |  1993-12-07  |  1KB  |  67 lines

  1.  
  2. VALLOC(3)                  UNIX Programmer's Manual                  VALLOC(3)
  3.  
  4. NNAAMMEE
  5.      vvaalllloocc - aligned memory allocation function
  6.  
  7. SSYYNNOOPPSSIISS
  8.      ##iinncclluuddee <<uunniissttdd..hh>>
  9.  
  10.      _c_h_a_r _*
  11.      vvaalllloocc(_u_n_s_i_g_n_e_d _s_i_z_e)
  12.  
  13. DDEESSCCRRIIPPTTIIOONN
  14.      VVaalllloocc iiss oobbssoolleetteedd bbyy tthhee ccuurrrreenntt vveerrssiioonn ooff mmaalllloocc((33)),, wwhhiicchh aalliiggnnss
  15.      ppaaggee­­ssiizzeedd aanndd llaarrggeerr aallllooccaattiioonnss..
  16.  
  17.      The vvaalllloocc() function allocates _s_i_z_e bytes aligned on a page boundary.
  18.      It is implemented by calling malloc(3) with a slightly larger request,
  19.      saving the true beginning of the block allocated, and returning a proper­
  20.      ly aligned pointer.
  21.  
  22. RREETTUURRNN VVAALLUUEESS
  23.      The vvaalllloocc() function returns a pointer to the allocated space if suc­
  24.      cessful; otherwise a null pointer is returned
  25.  
  26. HHIISSTTOORRYY
  27.      The vvaalllloocc() function appeared in 3.0BSD.
  28.  
  29. BBUUGGSS
  30.      A _v_f_r_e_e function has not been implemented.
  31.  
  32. 3rd Berkeley Distribution       April 19, 1991                               1
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.