1 .\" CDDL HEADER START 2 .\" 3 .\" The contents of this file are subject to the terms of the 4 .\" Common Development and Distribution License (the "License"). 5 .\" You may not use this file except in compliance with the License. 6 .\" 7 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 8 .\" or http://www.opensolaris.org/os/licensing. 9 .\" See the License for the specific language governing permissions 10 .\" and limitations under the License. 11 .\" 12 .\" When distributing Covered Code, include this CDDL HEADER in each 13 .\" file and include the License file at usr/src/OPENSOLARIS.LICENSE. 14 .\" If applicable, add the following below this CDDL HEADER, with the 15 .\" fields enclosed by brackets "[]" replaced with your own identifying 16 .\" information: Portions Copyright [yyyy] [name of copyright owner] 17 .\" 18 .\" CDDL HEADER END 19 .\" 20 .\" Copyright 2009 Sun Microsystems, Inc. All rights reserved. 21 .\" Use is subject to license terms. 22 .TH mapfilechk 1 "27 January 2009" 23 .SH NAME 24 mapfilechk \- Check for valid link-editor mapfile header blocks 25 .SH SYNOPSIS 26 .nf 27 \fBmapfilechk \fR [\fB-v\fR] [\fB-x\fR \fIexceptions_file\fR] [\fIpath\fR...] 28 .fi 29 .LP 30 .SH DESCRIPTION 31 .IX "OS-Net build tools" "mapfilechk" "" "\fBmapfilechk\fP" 32 mapfilechk inspects link-editor mapfiles for missing, obsolete, 33 or corrupt mapfile header blocks. 34 .LP 35 .SH OPTIONS 36 .LP 37 .TP 4 38 .B \-v 39 Report on all files, not just those with invalid headers 40 .LP 41 .TP 4 42 .B \-x \fIexceptions_file\fR 43 Load an exceptions file containing a list of files, directories and 44 file extensions to be ignored. 45 Exceptions may be one of three types: 46 .RS +4 47 .TP 48 .ie t \(bu 49 .el o 50 File paths 51 .RE 52 .RS +4 53 .TP 54 .ie t \(bu 55 .el o 56 Directories, specified with a trailing '/' 57 .RE 58 .RS +4 59 .TP 60 .ie t \(bu 61 .el o 62 File extensions, specified with a leading '*.' 63 .RE 64 .LP 65 .SH EXIT STATUS 66 .TP 4 67 .B 0 68 The command completed successfully. 69 No errors or warnings were reported 70 .LP 71 .TP 4 72 .B 1 73 The command completed unsuccessfully. 74 One or more errors or warnings were reported. 75 .LP 76 .TP 4 77 .B 2 78 Invalid command-line arguments were specified to the command.