Implementation of copyout() in FreeBSD

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


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

This site uses Akismet to reduce spam. Learn how your comment data is processed.