diff options
author | bde <bde@FreeBSD.org> | 1997-04-13 14:49:13 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1997-04-13 14:49:13 +0000 |
commit | 81c85a10506d23c9a4b9490b9ad9ce6e13a8622e (patch) | |
tree | df67fc502e2998aada7dc2af699c98e8877fcab7 /share/man/man9/mi_switch.9 | |
parent | d280e8e0d08d40447f471ce4630609b3e226e3aa (diff) | |
download | FreeBSD-src-81c85a10506d23c9a4b9490b9ad9ce6e13a8622e.zip FreeBSD-src-81c85a10506d23c9a4b9490b9ad9ce6e13a8622e.tar.gz |
Fixed #include and/or prototype bugs in synopsis.
Diffstat (limited to 'share/man/man9/mi_switch.9')
-rw-r--r-- | share/man/man9/mi_switch.9 | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/share/man/man9/mi_switch.9 b/share/man/man9/mi_switch.9 index 103a7c5..1a69c96 100644 --- a/share/man/man9/mi_switch.9 +++ b/share/man/man9/mi_switch.9 @@ -42,10 +42,12 @@ .Nm cpu_switch .Nd switch to another process context .Sh SYNOPSIS +.Fd #include <sys/param.h> +.Fd #include <sys/proc.h> .Ft void .Fn mi_switch "void" .Ft void -.Fn cpu_switch "void" +.Fn cpu_switch "struct proc *p" .Sh DESCRIPTION The .Fn mi_switch @@ -72,7 +74,7 @@ of a change in the signal disposition of the current process, or when a higher priority process might be available to run. The latter event is communicated by the machine independent scheduling routines by calling the machine defined -.Fn need_resched "void" . +.Fn need_resched . .It in the signal handling code .Pq see Xr issignal 9 @@ -92,7 +94,7 @@ cause a After these administrative tasks are done, .Fn mi_switch hands over control to the machine dependent routine -.Fn cpu_switch "void" , +.Fn cpu_switch , which will perform the actual process context switch. .Pp .Fn cpu_switch |