Print this page
10067 Miscellaneous man page typos
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Andy Fiddaman <andy@omniosce.org>
Reviewed by: Volker A. Brandt <vab@bb-c.de>

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man3curses/form_field_buffer.3curses
          +++ new/usr/src/man/man3curses/form_field_buffer.3curses
↓ open down ↓ 32 lines elided ↑ open up ↑
  33   33  .nf
  34   34  \fBint\fR \fBfield_status\fR(\fBFIELD *\fR\fIfield\fR);
  35   35  .fi
  36   36  
  37   37  .LP
  38   38  .nf
  39   39  \fBint\fR \fBset_max_field\fR(\fBFIELD *\fR\fIfield\fR, \fBint\fR \fImax\fR);
  40   40  .fi
  41   41  
  42   42  .SH DESCRIPTION
  43      -.sp
  44   43  .LP
  45   44  \fBset_field_buffer()\fR sets buffer \fIbuf\fR of \fIfield\fR to \fIvalue\fR.
  46   45  Buffer 0 stores the displayed contents of the field. Buffers other than 0 are
  47   46  application specific and not used by the \fBforms\fR library routines.
  48   47  \fBfield_buffer()\fR returns the value of \fIfield\fR buffer \fIbuf\fR.
  49   48  .sp
  50   49  .LP
  51   50  Every field has an associated status flag that is set whenever the contents of
  52   51  field buffer 0 changes. \fBset_field_status()\fR sets the status flag of
  53   52  \fIfield\fR to \fIstatus\fR. \fBfield_status()\fR returns the status of
  54   53  \fIfield\fR.
  55   54  .sp
  56   55  .LP
  57   56  \fBset_max_field()\fR sets a maximum growth on a dynamic field, or if
  58   57  \fImax=\fR\fB0\fR turns off any maximum growth.
  59   58  .SH RETURN VALUES
  60      -.sp
  61   59  .LP
  62   60  \fBfield_buffer()\fR returns \fINULL\fR on error.
  63   61  .sp
  64   62  .LP
  65   63  \fBfield_status()\fR returns \fBTRUE\fR or \fBFALSE\fR.
  66   64  .sp
  67   65  .LP
  68   66  \fBset_field_buffer()\fR, \fBset_field_status()\fR, and \fBset_max_field()\fR
  69   67  return one of the following:
  70   68  .sp
  71   69  .ne 2
  72   70  .na
  73   71  \fBE_OK\fR
  74   72  .ad
  75   73  .RS 18n
  76      -Thefunction returned successfully.
       74 +The function returned successfully.
  77   75  .RE
  78   76  
  79   77  .sp
  80   78  .ne 2
  81   79  .na
  82   80  \fBE_SYSTEM_ERROR\fR
  83   81  .ad
  84   82  .RS 18n
  85   83  System error
  86   84  .RE
↓ open down ↓ 1 lines elided ↑ open up ↑
  88   86  .sp
  89   87  .ne 2
  90   88  .na
  91   89  \fBE_BAD_ARGUMENT\fR
  92   90  .ad
  93   91  .RS 18n
  94   92  An argument is incorrect.
  95   93  .RE
  96   94  
  97   95  .SH ATTRIBUTES
  98      -.sp
  99   96  .LP
 100   97  See \fBattributes\fR(5) for descriptions of the following attributes:
 101   98  .sp
 102   99  
 103  100  .sp
 104  101  .TS
 105  102  box;
 106  103  c | c
 107  104  l | l .
 108  105  ATTRIBUTE TYPE  ATTRIBUTE VALUE
 109  106  _
 110  107  MT-Level        Unsafe
 111  108  .TE
 112  109  
 113  110  .SH SEE ALSO
 114      -.sp
 115  111  .LP
 116  112  \fBcurses\fR(3CURSES), \fBforms\fR(3CURSES), \fBattributes\fR(5)
 117  113  .SH NOTES
 118      -.sp
 119  114  .LP
 120  115  The header \fB<form.h>\fR automatically includes the headers  \fB<eti.h>\fR and
 121  116  \fB<curses.h>\fR\&.
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX