aboutsummaryrefslogtreecommitdiff
path: root/libiohelp/return-buffer.c
Commit message (Collapse)AuthorAgeFilesLines
* Replace `bcopy' with `memcpy' or `memmove' as appropriateJustus Winter2014-12-101-1/+1
| | | | | | | | | | | | | | | | | | | * ext2fs/inode.c: Replace `bcopy' with `memcpy' or `memmove' as appropriate. * ext2fs/pager.c: Likewise. * isofs/lookup.c: Likewise. * isofs/main.c: Likewise. * isofs/rr.c: Likewise. * libdiskfs/file-get-trans.c: Likewise. * libiohelp/return-buffer.c: Likewise. * libpager/pagemap.c: Likewise. * libpipe/pq.c: Likewise. * libpipe/pq.h: Likewise. * libstore/unzipstore.c: Likewise. * mach-defpager/default_pager.c: Likewise. * pfinet/ethernet.c: Likewise. * pfinet/tunnel.c: Likewise. * storeio/dev.c: Likewise.
* Include <stdlib.h> or <mach.h> where neededPino Toscano2013-02-251-0/+1
| | | | | | | | | | | | | | | cthreads.h includes both <stdlib.h> and <mach.h>, while pthreads.h does not; with the switch to pthreads, their lack causes prototype compilation warnings for malloc/calloc/free/abort, and mach_task_self/mach_reply_port/etc in few places. * console-client/vga-support.c: Include <stdlib.h>. * libiohelp/iouser-dup.c: Likewise. * libiohelp/iouser-free.c: Likewise. * libiohelp/iouser-reauth.c: Likewise. * libiohelp/return-buffer.c: Likewise. * libiohelp/shared.c: Likewise. * pflocal/connq.c: Likewise. * nfsd/cache.c: Include <mach.h>.
* 1999-07-11 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-07-111-0/+1
| | | | | | | * return-buffer.c: Include <sys/mman.h>. * iouser-reauth.c (iohelp_reauth): Cast first arg to munmap correctly.
* 1999-07-09 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-07-111-2/+5
| | | | | * return-buffer.c (iohelp_return_malloced_buffer): Use mmap instead of vm_allocate.
* 1998-08-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-08-201-0/+50
* return-buffer.c (iohelp_return_malloced_buffer): Moved here from ../libfshelp/return-buffer.c and renamed from fshelp to iohelp. * iohelp.h (iohelp_return_malloced_buffer): Declare it.