kern_proc_cwd_out
error = kern_proc_cwd_out(p, &sb, maxlen);
int kern_proc_cwd_out(struct proc *p, struct sbuf *sb, ssize_t maxlen);