.TH locked() "" "" "Internal Kernel Routine"
.PC "See if a gate is locked"
.B "#include <sys/proc.h>"
.B "#include <sys/types.h>"
\fBint locked(\fIgate\^\fB)\fR
\fBGATE \fIgate\^\fB;\fR
.PP
the macro
.B locked()
determines if
.I gate
is locked.
.SH "See Also"
.B
internal kernel routines,
lock()
.R
