Skip to content

Functions I one day hope to use in a program, Part I

int fuword(const user_addr_t addr);

man page [fetch(9)]

The fetch functions are designed to copy small amounts of data from user-space.

. . .

fuword() Fetches a word of data from the user-space address addr.

Also acceptable are the related functions fubyte and fulong. I’d probably have to be working at the kernel level to do so, something I don’t really ever see myself doing, sadly, but a man can dream.

{ 1 } Comments

  1. Peter Hosey | 2008-02-02 at 10:52 am | Permalink

    Now we need to invent a way to fetch atmospheric pressure from user-space.

Post a Comment

You must be logged in to post a comment.