From owner-freebsd-current Sat Mar 4 23:22:27 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id XAA27666 for current-outgoing; Sat, 4 Mar 1995 23:22:27 -0800 Received: from uclink.berkeley.edu (uclink.Berkeley.EDU [128.32.155.3]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id XAA27660 for ; Sat, 4 Mar 1995 23:22:26 -0800 Received: by uclink.berkeley.edu (8.6.9/1.33(web)-OV4) id XAA16832; Sat, 4 Mar 1995 23:22:13 -0800 Date: Sat, 4 Mar 1995 23:22:13 -0800 From: jmacd@uclink.berkeley.edu (Joshua Peck Macdonald) Message-Id: <199503050722.XAA16832@uclink.berkeley.edu> To: freebsd-current@FreeBSD.org Subject: what's this? MDOC error Sender: current-owner@FreeBSD.org Precedence: bulk axis-~ # man mmap Formatting page, please wait.../usr/share/tmac/tmac.doc:55: can't find macro file `mdoc/doc-nroff' /usr/share/tmac/tmac.doc:57: can't find macro file `mdoc/doc-common' /usr/share/tmac/tmac.doc:58: can't find macro file `mdoc/doc-syms' MDOC-ERROR: bogus type 0 (can't set space 'mmap') (#38) MDOC-ERROR: bogus type 0 (can't set space 'mmap') (#44) MDOC-ERROR: bogus type 0 (can't set space 'mmap') (#47) MDOC-ERROR: bogus type 0 (can't set space 'addr') (#49) MDOC-ERROR: bogus type 0 (can't set space 'len') (#51) MDOC-ERROR: bogus type 0 (can't set space 'fd') (#53) MDOC-ERROR: bogus type 0 (can't set space ',') (#53) ... MDOC-ERROR: bogus class 0 (can't determine ',') (#209) MDOC-ERROR: bogus type 0 (can't set space 'mincore') (#210) MDOC-ERROR: bogus type 0 (can't set space '2') (#210) MDOC-ERROR: bogus class 0 (can't determine '2') (#210) Done. mmap #include #include caddr_t mmapcaddr_t addr,size_t len,int prot,int flags,int fd,off_t offset The mmap function causes the pages starting at addr and continuing for at most len bytes to be mapped from the object described by fd, starting at byte offset offset. If offset or len is not a multiple of the pagesize, the mapped region may extend past the specified range. If addr is non-zero, it is used as a hint to the system. (As a convenience to the system, the actual address of the region may differ from the address sup- plied.) If addr is zero, an address will be selected by the sys- tem. The actual starting address of the region is returned. A successful mmap deletes any previous mapping in the allocated ad- dress range. The protections (region accessibility) are speci- fied in the prot argument by orNs'ing the following values: DvPROT_EXEC Pages may be executed. ... I get this for a lot of man pages, I made -current about a week ago? is this something I've messed up or what? -josh