/[global]/global/libutil/tab.c
ViewVC logotype

Diff of /global/libutil/tab.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by shigio, Fri May 13 23:51:24 2005 UTC revision 1.7 by shigio, Tue Oct 4 07:59:04 2005 UTC
# Line 35  static int tabs = 8; Line 35  static int tabs = 8;
35   *      i)      n       tab stop   *      i)      n       tab stop
36   */   */
37  void  void
38  settabs(n)  settabs(int n)
         int n;  
39  {  {
40          if (n < 1 || n > 32)          if (n < 1 || n > 32)
41                  return;                  return;
# Line 49  settabs(n) Line 48  settabs(n)
48   *      i)      buf     string including tabs   *      i)      buf     string including tabs
49   */   */
50  void  void
51  detab(op, buf)  detab(FILE *op, const char *buf)
         FILE *op;  
         const char *buf;  
52  {  {
53          int src, dst;          int src, dst;
54          char c;          char c;
# Line 76  detab(op, buf) Line 73  detab(op, buf)
73   *      io)     buf     string buffer   *      io)     buf     string buffer
74   */   */
75  void  void
76  entab(buf)  entab(char *buf)
         char *buf;  
77  {  {
78          int blanks = 0;          int blanks = 0;
79          int pos, src, dst;          int pos, src, dst;

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26