* Copyright (c) 1993 The Regents of the University of California.
* Copyright (c) 1993 Jan-Simon Pendry
* This code is derived from software contributed to Berkeley by
* %sccs.include.redist.c%
* @(#)procfs_note.c 8.1 (Berkeley) %G%
* $Id: procfs_note.c,v 3.2 1993/12/15 09:40:17 jsp Exp $
#include <miscfs/procfs/procfs.h>
procfs_donote(curp
, p
, pfs
, uio
)
char note
[PROCFS_NOTELEN
+1];
if (uio
->uio_rw
!= UIO_WRITE
)
error
= vfs_getuserstr(uio
, note
, &xlen
);
/* send to process's notify function */