FreeBSD/sys/fs/procfs/procfs.c
/*
 * Filler function for proc/curproc
 */
Filler function for proc/curproc
Filler function for proc / curproc
int
procfs_docurproc(PFS_FILL_ARGS)
{
	sbuf_printf(sb, "%ld", (long)td->td_proc->p_pid);
	return (0);
}
int procfs_docurproc ( PFS_FILL_ARGS ) { sbuf_printf ( sb , " " , ( long ) td -> td_proc -> p_pid ) ; return ( 0 ) ; }
Filler function for proc/curproc
Filler function for proc / curproc