Back to index

glibc  2.9
Defines
pagecopy.h File Reference
#include <mach.h>
#include <sysdeps/generic/pagecopy.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define PAGE_THRESHOLD   (2 * PAGE_SIZE) /* XXX ? */
#define PAGE_SIZE   __vm_page_size
#define PAGE_COPY_FWD(dstp, srcp, nbytes_left, nbytes)

Define Documentation

#define PAGE_COPY_FWD (   dstp,
  srcp,
  nbytes_left,
  nbytes 
)
Value:
((nbytes_left) = ((nbytes) -                                                \
                  (__vm_copy (__mach_task_self (),                          \
                            (vm_address_t) srcp, trunc_page (nbytes),     \
                            (vm_address_t) dstp) == KERN_SUCCESS            \
                   ? trunc_page (nbytes)                             \
                   : 0)))

Definition at line 27 of file pagecopy.h.

#define PAGE_SIZE   __vm_page_size

Definition at line 26 of file pagecopy.h.

#define PAGE_THRESHOLD   (2 * PAGE_SIZE) /* XXX ? */

Definition at line 24 of file pagecopy.h.