diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libc/stdlib/malloc.3 | 7 | 
1 files changed, 4 insertions, 3 deletions
| diff --git a/src/lib/libc/stdlib/malloc.3 b/src/lib/libc/stdlib/malloc.3 index f35c86ac48..9edff6709c 100644 --- a/src/lib/libc/stdlib/malloc.3 +++ b/src/lib/libc/stdlib/malloc.3 | |||
| @@ -33,7 +33,7 @@ | |||
| 33 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 33 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 
| 34 | .\" SUCH DAMAGE. | 34 | .\" SUCH DAMAGE. | 
| 35 | .\" | 35 | .\" | 
| 36 | .\" $OpenBSD: malloc.3,v 1.10 1998/11/17 23:41:43 aaron Exp $ | 36 | .\" $OpenBSD: malloc.3,v 1.11 1999/03/23 21:07:57 millert Exp $ | 
| 37 | .\" | 37 | .\" | 
| 38 | .Dd August 27, 1996 | 38 | .Dd August 27, 1996 | 
| 39 | .Dt MALLOC 3 | 39 | .Dt MALLOC 3 | 
| @@ -101,8 +101,9 @@ The | |||
| 101 | .Fn realloc | 101 | .Fn realloc | 
| 102 | function changes the size of the object pointed to by | 102 | function changes the size of the object pointed to by | 
| 103 | .Fa ptr | 103 | .Fa ptr | 
| 104 | to the size specified by | 104 | to | 
| 105 | .Fa size . | 105 | .Fa size | 
| 106 | bytes and returns a pointer to the (possibly moved) object. | ||
| 106 | The contents of the object are unchanged up to the lesser | 107 | The contents of the object are unchanged up to the lesser | 
| 107 | of the new and old sizes. | 108 | of the new and old sizes. | 
| 108 | If the new size is larger, the value of the newly allocated portion | 109 | If the new size is larger, the value of the newly allocated portion | 
