summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <Alan.Coopersmith@sun.com>2005-10-12 23:45:05 +0000
committerAlan Coopersmith <Alan.Coopersmith@sun.com>2005-10-12 23:45:05 +0000
commit7443d46d1ae750b9f23fd264e7876dc809b5b8a0 (patch)
tree2d9547e17a713466aee09254d1adeed02aa6be2c
parent66663ac337b1a6e104cc30e17efe3d09d85302e0 (diff)
downloadxorg-lib-libXp-7443d46d1ae750b9f23fd264e7876dc809b5b8a0.tar.gz
Use troff macros to prevent cpp eating C comments & #defines that are
supposed to appear in man page output.
-rw-r--r--man/XpGetAttributes.man12
-rw-r--r--man/XpGetDocumentData.man8
-rw-r--r--man/XpGetPrinterList.man6
-rw-r--r--man/XpSetAttributes.man12
-rw-r--r--man/XpSetLocaleHinter.man4
-rw-r--r--man/XpStartDoc.man6
6 files changed, 24 insertions, 24 deletions
diff --git a/man/XpGetAttributes.man b/man/XpGetAttributes.man
index 6c84b09..0a34691 100644
--- a/man/XpGetAttributes.man
+++ b/man/XpGetAttributes.man
@@ -1,4 +1,4 @@
-.\" $XdotOrg: $
+.\" $XdotOrg: xc/doc/man/Xp/XpGetAttributes.man,v 1.1 2004/05/22 06:27:25 alanc Exp $
.\"
.\" Copyright 1996 Hewlett-Packard Company
.\" Copyright 1996 International Business Machines Corp.
@@ -91,11 +91,11 @@ returns NULL.
.SH STRUCTURES
The values for the typedef XPAttributes in <X11/extensions/Print.h> are:
.nf
- #define XPJobAttr 1 /* get/set */
- #define XPDocAttr 2 /* get/set */
- #define XPPageAttr 3 /* get/set-subset of XPDocAttr */
- #define XPPrinterAttr 4 /* get only (library) */
- #define XPServerAttr 5 /* get only (library), no context needed */
+ #define XPJobAttr 1 /\(** get/set */
+ #define XPDocAttr 2 /\(** get/set */
+ #define XPPageAttr 3 /\(** get/set-subset of XPDocAttr */
+ #define XPPrinterAttr 4 /\(** get only (library) */
+ #define XPServerAttr 5 /\(** get only (library), no context needed */
.LP
.fi
.SH DIAGNOSTICS
diff --git a/man/XpGetDocumentData.man b/man/XpGetDocumentData.man
index ea4d0be..1537c51 100644
--- a/man/XpGetDocumentData.man
+++ b/man/XpGetDocumentData.man
@@ -1,4 +1,4 @@
-.\" $XdotOrg: $
+.\" $XdotOrg: xc/doc/man/Xp/XpGetDocumentData.man,v 1.1 2004/05/22 06:27:25 alanc Exp $
.\"
.\" Copyright 1996 Hewlett-Packard Company
.\" Copyright 1996 International Business Machines Corp.
@@ -175,9 +175,9 @@ returns, status gives the completion status of the job and is defined in
<X11/extensions/Print.h> as:
.LP
.nf
- #define XPGetDocFinished 0 /* normal termination */
- #define XPGetDocSecondConsumer 1 /* setup error */
- #define XPGetDocError 2 /* progress error */
+ #define XPGetDocFinished 0 /\(** normal termination */
+ #define XPGetDocSecondConsumer 1 /\(** setup error */
+ #define XPGetDocError 2 /\(** progress error */
.fi
.LP
XPGetDocFinished indicates that all intended document data has been delivered by
diff --git a/man/XpGetPrinterList.man b/man/XpGetPrinterList.man
index 78efd24..31ba5c7 100644
--- a/man/XpGetPrinterList.man
+++ b/man/XpGetPrinterList.man
@@ -1,4 +1,4 @@
-.\" $XdotOrg: $
+.\" $XdotOrg: xc/doc/man/Xp/XpGetPrinterList.man,v 1.1 2004/05/22 06:27:25 alanc Exp $
.\"
.\" Copyright 1996 Hewlett-Packard Company
.\" Copyright 1996 International Business Machines Corp.
@@ -107,8 +107,8 @@ The XPPrinterList structure defined in <X11/extensions/Print.h> contains:
.nf
typedef struct {
- char *name; /* name */
- char *desc; /* localized description */
+ char *name; /\(** name */
+ char *desc; /\(** localized description */
} XPPrinterRec, *XPPrinterList;
.fi
diff --git a/man/XpSetAttributes.man b/man/XpSetAttributes.man
index b9bda9c..d7b50b3 100644
--- a/man/XpSetAttributes.man
+++ b/man/XpSetAttributes.man
@@ -1,4 +1,4 @@
-.\" $XdotOrg: $
+.\" $XdotOrg: xc/doc/man/Xp/XpSetAttributes.man,v 1.1 2004/05/22 06:27:25 alanc Exp $
.\"
.\" Copyright 1996 Hewlett-Packard Company
.\" Copyright 1996 International Business Machines Corp.
@@ -128,11 +128,11 @@ context to coordinate their operations.
The values for the typedef XPAttributes in <X11/extensions/Print.h> are:
.nf
- #define XPJobAttr 1 /* get/set */
- #define XPDocAttr 2 /* get/set */
- #define XPPageAttr 3 /* get/set - subset of XPDocAttr */
- #define XPPrinterAttr 4 /* get only (library) */
- #define XPServerAttr 5 /* get only (library), no context needed */
+ #define XPJobAttr 1 /\(** get/set */
+ #define XPDocAttr 2 /\(** get/set */
+ #define XPPageAttr 3 /\(** get/set - subset of XPDocAttr */
+ #define XPPrinterAttr 4 /\(** get only (library) */
+ #define XPServerAttr 5 /\(** get only (library), no context needed */
.fi
The values for the typedef XPAttrReplacement in <X11/extensions/Print.h> are:
diff --git a/man/XpSetLocaleHinter.man b/man/XpSetLocaleHinter.man
index 73a5445..b557dc0 100644
--- a/man/XpSetLocaleHinter.man
+++ b/man/XpSetLocaleHinter.man
@@ -1,4 +1,4 @@
-.\" $XdotOrg: $
+.\" $XdotOrg: xc/doc/man/Xp/XpSetLocaleHinter.man,v 1.1 2004/05/22 06:27:25 alanc Exp $
.\"
.\" Copyright 1996 Hewlett-Packard Company
.\" Copyright 1996 International Business Machines Corp.
@@ -109,7 +109,7 @@ Where my_hinter might look as follows:
.nf
char *my_hinter()
{
- /*
+ /\(**
* Use setlocale() to retrieve the current locale.
*/
return( my_x_strdup( setlocale(LC_CTYPE, (char *) NULL) ) );
diff --git a/man/XpStartDoc.man b/man/XpStartDoc.man
index 6e8e915..2b105d2 100644
--- a/man/XpStartDoc.man
+++ b/man/XpStartDoc.man
@@ -1,4 +1,4 @@
-.\" $XdotOrg: $
+.\" $XdotOrg: xc/doc/man/Xp/XpStartDoc.man,v 1.1 2004/05/22 06:27:25 alanc Exp $
.\"
.\" Copyright 1996 Hewlett-Packard Company
.\" Copyright 1996 International Business Machines Corp.
@@ -95,8 +95,8 @@ The XPDocumentType values are defined in <X11/extensions/Print.h>:
.nf
- #define XPDocNormal 1 /* Doc data handled by Xserver*/
- #define XPDocRaw 2 /* Doc data passed through Xserver*/
+ #define XPDocNormal 1 /\(** Doc data handled by Xserver*/
+ #define XPDocRaw 2 /\(** Doc data passed through Xserver*/
.fi