Implementation of copyout() in FreeBSD

Where is the definition of function copyout() in FreeBSD for AMD64?

(http://www.unix.com/man-page/FreeBSD/9/copyout/)

The only place I can find is in sys/sys/systm.h.

The definition/declaration is:

int     copyout(const void * __restrict kaddr, void * __restrict udaddr,
        size_t len) __nonnull(1) __nonnull(2);

Is it a declaration or a definition? What does __nonnull(1) and __nonnull(2) mean?


Source: unix

Leave a Reply