Skip to content
  • Nick Mathewson's avatar
    r15691@tombo: nickm | 2007-12-25 18:13:54 -0500 · 0c8142e9
    Nick Mathewson authored
     New, slightly esoteric function, tor_malloc_roundup().  While tor_malloc(x) allocates x bytes, tor_malloc_roundup(&x) allocates the same size of chunk it would use to store x bytes, and sets x to the usable size of that chunk.
    
    
    svn:r12981
    0c8142e9