From 9761e3fdaf71ba499c124e255c7d3648868e8fa0 Mon Sep 17 00:00:00 2001 From: gjb Date: Sat, 25 Feb 2012 14:31:25 +0000 Subject: Fix various typos in manual pages. Submitted by: amdmi3 PR: 165431 MFC after: 1 week --- lib/libc/sys/cap_enter.2 | 4 ++-- lib/libc/sys/pdfork.2 | 4 ++-- lib/libc/sys/posix_fadvise.2 | 4 ++-- lib/libc/sys/posix_fallocate.2 | 4 ++-- lib/libmemstat/libmemstat.3 | 4 ++-- lib/libpmc/pmc.mips.3 | 4 ++-- lib/libpmc/pmc.westmere.3 | 4 ++-- lib/libusb/libusb.3 | 4 ++-- lib/libutil/kinfo_getproc.3 | 4 ++-- lib/libvgl/vgl.3 | 4 ++-- 10 files changed, 20 insertions(+), 20 deletions(-) (limited to 'lib') diff --git a/lib/libc/sys/cap_enter.2 b/lib/libc/sys/cap_enter.2 index a3ea710..5454ec9 100644 --- a/lib/libc/sys/cap_enter.2 +++ b/lib/libc/sys/cap_enter.2 @@ -28,7 +28,7 @@ .\" .\" $FreeBSD$ .\" -.Dd June 11, 2009 +.Dd February 25, 2012 .Dt CAP_ENTER 2 .Os .Sh NAME @@ -68,7 +68,7 @@ appropriately-crafted applications or application components may be run. returns a flag indicating whether or not the process is in a capability mode sandbox. .Sh CAVEAT -Creating effecive process sandboxes is a tricky process that involves +Creating effective process sandboxes is a tricky process that involves identifying the least possible rights required by the process and then passing those rights into the process in a safe manner. See the CAVEAT diff --git a/lib/libc/sys/pdfork.2 b/lib/libc/sys/pdfork.2 index 3f36e88..4bd7d72 100644 --- a/lib/libc/sys/pdfork.2 +++ b/lib/libc/sys/pdfork.2 @@ -28,7 +28,7 @@ .\" .\" $FreeBSD$ .\" -.Dd August 16, 2011 +.Dd February 25, 2012 .Dt PDFORK 2 .Os .Sh NAME @@ -87,7 +87,7 @@ except that it accepts a process descriptor, rather than a PID. .Pp .Fn pdwait4 -behaves identially to +behaves identically to .Xr wait4 2 , but operates with respect to a process descriptor argument rather than a PID. .Pp diff --git a/lib/libc/sys/posix_fadvise.2 b/lib/libc/sys/posix_fadvise.2 index bdf321f..864e325 100644 --- a/lib/libc/sys/posix_fadvise.2 +++ b/lib/libc/sys/posix_fadvise.2 @@ -28,7 +28,7 @@ .\" @(#)madvise.2 8.1 (Berkeley) 6/9/93 .\" $FreeBSD$ .\" -.Dd October 26, 2011 +.Dd February 25, 2012 .Dt POSIX_FADVISE 2 .Os .Sh NAME @@ -74,7 +74,7 @@ This currently does nothing as the default behavior uses heuristics to detect sequential behavior. .It Dv POSIX_FADV_WILLNEED Tells the system that the specified data will be accessed in the near future. -The system may initiate an asychronous read of the data if it is not already +The system may initiate an asynchronous read of the data if it is not already present in memory. .It Dv POSIX_FADV_DONTNEED Tells the system that the specified data will not be accessed in the near diff --git a/lib/libc/sys/posix_fallocate.2 b/lib/libc/sys/posix_fallocate.2 index f7cbd49..fbeb6d3 100644 --- a/lib/libc/sys/posix_fallocate.2 +++ b/lib/libc/sys/posix_fallocate.2 @@ -28,7 +28,7 @@ .\" @(#)open.2 8.2 (Berkeley) 11/16/93 .\" $FreeBSD$ .\" -.Dd April 13, 2011 +.Dd February 25, 2012 .Dt POSIX_FALLOCATE 2 .Os .Sh NAME @@ -48,7 +48,7 @@ to .Fa len in the file referenced by .Fa fd -is guarateed to be allocated upon successful return. +is guaranteed to be allocated upon successful return. That is, if .Fn posix_fallocate returns successfully, subsequent writes to the specified file data diff --git a/lib/libmemstat/libmemstat.3 b/lib/libmemstat/libmemstat.3 index d7a000c..9b749f0 100644 --- a/lib/libmemstat/libmemstat.3 +++ b/lib/libmemstat/libmemstat.3 @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd July 21, 2011 +.Dd February 25, 2012 .Dt LIBMEMSTAT 3 .Os .Sh NAME @@ -345,7 +345,7 @@ Return a caller-owned per-CPU pointer for the memory type. Set a caller-owned per-CPU pointer for the memory type. .It Fn memstat_get_percpu_caller_uint64 Return a caller-owned per-CPU integer for the memory type. -.It Fn memsttat_set_percpu_caller_uint64 +.It Fn memstat_set_percpu_caller_uint64 Set a caller-owned per-CPU integer for the memory type. .It Fn memstat_get_percpu_free If the memory allocator supports a per-CPU cache, return the number of free diff --git a/lib/libpmc/pmc.mips.3 b/lib/libpmc/pmc.mips.3 index bad2046..2f9be21 100644 --- a/lib/libpmc/pmc.mips.3 +++ b/lib/libpmc/pmc.mips.3 @@ -23,7 +23,7 @@ .\" .\" $FreeBSD$ .\" -.Dd February 11, 2010 +.Dd February 25, 2012 .Dt PMC.MIPS 3 .Os .Sh NAME @@ -166,7 +166,7 @@ This includes all instructions that normally write to a general purpose register, but where the destination register was set to r0. .It Li INTEGER_MULDIV_COMPLETED .Pq Event 17, Counter 1 -Integer multipy and divide instructions completed. (MULxx, DIVx, MADDx, MSUBx). +Integer multiply and divide instructions completed. (MULxx, DIVx, MADDx, MSUBx). .It Li RF_STALL .Pq Event 18, Counter 0 Counts the total number of cycles where no instructions are issued diff --git a/lib/libpmc/pmc.westmere.3 b/lib/libpmc/pmc.westmere.3 index c5f1e1c..0b8934e 100644 --- a/lib/libpmc/pmc.westmere.3 +++ b/lib/libpmc/pmc.westmere.3 @@ -23,7 +23,7 @@ .\" .\" $FreeBSD$ .\" -.Dd March 24, 2010 +.Dd February 25, 2012 .Dt PMC.WESTMERE 3 .Os .Sh NAME @@ -643,7 +643,7 @@ Counter 0. .Pq Event 60H , Umask 08H Counts weighted cycles of offcore read requests of any kind. Include L2 prefetch requests. -Ccounter 0. +Counter 0. .It Li CACHE_LOCK_CYCLES.L1D_L2 .Pq Event 63H , Umask 01H Cycle count during which the L1D and L2 are locked. A lock is asserted when diff --git a/lib/libusb/libusb.3 b/lib/libusb/libusb.3 index 4e4dd10..c3f2a44 100644 --- a/lib/libusb/libusb.3 +++ b/lib/libusb/libusb.3 @@ -26,7 +26,7 @@ .\" .\" $FreeBSD$ .\" -.Dd November 9, 2011 +.Dd February 25, 2012 .Dt LIBUSB 3 .Os .Sh NAME @@ -483,7 +483,7 @@ on success and a LIBUSB_ERROR code on failure. .Pp .Ft int .Fn libusb_handle_events_locked "libusb_context *ctx" "struct timeval *tv" -Handle any pending events by polling file desciptors, without checking if +Handle any pending events by polling file descriptors, without checking if another thread is already doing so. Must be called with the event lock held. .Pp diff --git a/lib/libutil/kinfo_getproc.3 b/lib/libutil/kinfo_getproc.3 index 2778ad1..ff41d81 100644 --- a/lib/libutil/kinfo_getproc.3 +++ b/lib/libutil/kinfo_getproc.3 @@ -25,7 +25,7 @@ .\" .\" $FreeBSD$ .\" -.Dd July 9, 2009 +.Dd February 25, 2012 .Os .Dt KINFO_GETPROC 3 .Sh NAME @@ -44,7 +44,7 @@ This function is used for obtaining process information from the kernel. The .Ar pid field contains the process identifier. -This should be the a process that you have privilige to access. +This should be a process that you have privilege to access. This function is a wrapper around .Xr sysctl 3 with the diff --git a/lib/libvgl/vgl.3 b/lib/libvgl/vgl.3 index b105ab3..0979e44 100644 --- a/lib/libvgl/vgl.3 +++ b/lib/libvgl/vgl.3 @@ -26,7 +26,7 @@ .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" .\" $FreeBSD$ -.Dd November 7, 1999 +.Dd February 25, 2012 .Dt VGL 3 .Os .Sh NAME @@ -386,7 +386,7 @@ Passing an in-memory bitmap to this function results in error. The desired virtual screen width may not be achievable because of the video card hardware. In such case the video driver (and -underlaying video BIOS) may choose the next largest values. +underlying video BIOS) may choose the next largest values. Always examine .Va object->VXsize and -- cgit v1.1