<dec f='src/src/sys/miscfs/procfs/procfs.h' l='190' type='int vfs_getuserstr(struct uio * , char * , int * )'/>
<use f='src/src/sys/miscfs/procfs/procfs_ctl.c' l='379' u='c' c='procfs_doctl'/>
<use f='src/src/sys/miscfs/procfs/procfs_note.c' l='102' u='c' c='procfs_donote'/>
<def f='src/src/sys/miscfs/procfs/procfs_subr.c' l='307' ll='337' type='int vfs_getuserstr(struct uio * uio, char * bf, int * buflenp)'/>
<doc f='src/src/sys/miscfs/procfs/procfs_subr.c' l='295'>/*
 * Get a string from userland into (bf).  Strip a trailing
 * nl character (to allow easy access from the shell).
 * The buffer should be *buflenp + 1 chars long.  vfs_getuserstr
 * will automatically add a nul char at the end.
 *
 * Returns 0 on success or the following errors
 *
 * EINVAL:    file offset is non-zero.
 * EMSGSIZE:  message is longer than kernel buffer
 * EFAULT:    user i/o buffer is not addressable
 */</doc>
