Visible indent guide (default options) int doSomething(void) { static char buf[BUFSIZ]; static char *bufp = buf; static int n = 0; while(bufp) { if (n == 0) { /* buffer is empty */ n = read(0, buf, sizeof buf); bufp = buf; } } return (--n >= 0) ? (unsigned char) *bufp++ : EOF; }
Visible indent guide (without the first indent guide) int doSomething(void) { static char buf[BUFSIZ]; static char *bufp = buf; static int n = 0; while(bufp) { if (n == 0) { /* buffer is empty */ n = read(0, buf, sizeof buf); bufp = buf; } } return (--n >= 0) ? (unsigned char) *bufp++ : EOF; }