Integrate mainline
[p5sagit/p5-mst-13.2.git] / pod / perlguts.pod
index 8ff4a84..54d0715 100644 (file)
@@ -1354,31 +1354,6 @@ destination starting points.  Perl will move, copy, or zero out C<number>
 instances of the size of the C<type> data structure (using the C<sizeof>
 function).
 
-Here is a handy table of equivalents between ordinary C and Perl's
-memory abstraction layer:
-
-    Instead Of:                 Use:
-
-    t* p = malloc(n)            New(id, p, n, t)
-    t* p = calloc(n, s)         Newz(id, p, n, t)
-    p = realloc(p, n)           Renew(p, n, t)
-    memcpy(dst, src, n)         Copy(src, dst, n, t)
-    memmove(dst, src, n)        Move(src, dst, n, t)
-    free(p)                     Safefree(p)
-    strdup(p)                   savepv(p)
-    strndup(p, n)               savepvn(p, n) (Hey, strndup doesn't exist!)
-    memcpy/*(struct foo *)      StructCopy(src, dst, t)
-
-    t   type
-    p   pointer
-    ck  cookie for the memory region (now unused)
-    n   number of elements
-    src source pointer
-    dst destination pointer
-
-Notice the different order of arguments to C<Copy> and C<Move> than used
-in C<memcpy> and C<memmove>.
-
 =head2 PerlIO
 
 The most recent development releases of Perl has been experimenting with