Home
last modified time | relevance | path

Searched refs:LINE_MAX (Results 1 – 25 of 57) sorted by relevance

123

/illumos-gate/usr/src/common/util/
H A Dgetresponse.c133 char ans[LINE_MAX + 1]; in yes_no()
141 if (i < LINE_MAX) in yes_no()
145 if (i >= LINE_MAX) in yes_no()
146 ans[LINE_MAX] = '\0'; in yes_no()
/illumos-gate/usr/src/cmd/spell/
H A Dhashmake.c42 char word[LINE_MAX]; in main()
52 while (fgets(word, LINE_MAX, stdin)) { in main()
H A Dspellprog.c230 static char word[LINE_MAX];
231 static char original[LINE_MAX];
232 static char *deriv[LINE_MAX];
233 static char affix[LINE_MAX];
668 char space[LINE_MAX * 2]; in trypref()
/illumos-gate/usr/src/lib/libxcurses/src/tput/
H A Dtput.c215 static char buf[LINE_MAX];
216 if ((*v = fgets(buf, LINE_MAX, stdin)) == NULL) {
365 char buf[LINE_MAX+1];
368 while (fgets(buf, LINE_MAX, fp) != NULL)
/illumos-gate/usr/src/tools/sgs/sgsmsg/
H A Dsgsmsg.c206 if ((buffer = malloc(LINE_MAX)) == 0) { in getmesgid()
215 while (fgets(buffer, LINE_MAX, fdmids) != NULL) { in getmesgid()
664 char buffer[LINE_MAX], * token; in file()
670 if ((token_buffer = malloc(LINE_MAX)) == 0) { in file()
674 bufsize = LINE_MAX; in file()
678 while ((token = fgets(buffer, LINE_MAX, fddesc)) != NULL) { in file()
975 bufsize += LINE_MAX; in file()
/illumos-gate/usr/src/cmd/fold/
H A Dfold.c66 static wchar_t line[LINE_MAX];
203 wchar_t tline[LINE_MAX]; in putch()
277 if ((curc + 1) >= (line + LINE_MAX)) { in putch()
/illumos-gate/usr/src/cmd/xargs/
H A Dxargs.c68 #define BUFSIZE LINE_MAX
744 char reply[LINE_MAX]; in echoargs()
769 for (i = 0; i < LINE_MAX && read(PROMPT, &reply[i], 1) > 0; i++) { in echoargs()
776 if (i < LINE_MAX) in echoargs()
779 reply[LINE_MAX - 1] = '\0'; in echoargs()
782 if (i == LINE_MAX) { in echoargs()
/illumos-gate/usr/src/lib/libpkg/common/
H A Disdir.c330 char line_buf[LINE_MAX]; in _InitRemoteFstypes()
371 char buf[LINE_MAX]; in _InitRemoteFstypes()
H A Dpkgstr.c285 assert(vres < LINE_MAX); in pkgstrPrintf()
302 assert(vres < LINE_MAX); in pkgstrPrintf()
/illumos-gate/usr/src/cmd/ul/
H A Dul.c62 struct CHAR obuf[LINE_MAX];
168 if (maxcol >= LINE_MAX) { in ul_filter()
170 gettext("Input line longer than %d characters\n"), LINE_MAX); in ul_filter()
485 for (i = 0; i < LINE_MAX; i++) in initbuf()
/illumos-gate/usr/src/cmd/svc/servinfo/
H A Dservinfo.c110 char line[LINE_MAX] = ""; in svc_getrpcinfo()
111 int line_len = LINE_MAX - 1; in svc_getrpcinfo()
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dvw_scanw.c58 char buffer[LINE_MAX]; in vw_scanw()
H A Dvwscanw.c63 char buffer[LINE_MAX]; in vwscanw()
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dvw_print.c56 static char buffer[LINE_MAX];
H A Dvw_scanw.c58 char buffer[LINE_MAX];
H A Dvwprintw.c65 static char buffer[LINE_MAX];
H A Dvwscanw.c67 char buffer[LINE_MAX];
/illumos-gate/usr/src/cmd/line/
H A Dline.c39 #define LSIZE LINE_MAX /* POSIX.2 */
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dncu_ip.c156 char errmsg[LINE_MAX]; in nwamd_get_dhcpinfo_data()
167 (void) snprintf(errmsg, LINE_MAX, "unknown identifier: %s", in nwamd_get_dhcpinfo_data()
179 (void) snprintf(errmsg, LINE_MAX, "failed dhcp alloc request"); in nwamd_get_dhcpinfo_data()
186 (void) snprintf(errmsg, LINE_MAX, "%s", in nwamd_get_dhcpinfo_data()
193 (void) snprintf(errmsg, LINE_MAX, "invalid data"); in nwamd_get_dhcpinfo_data()
199 (void) snprintf(errmsg, LINE_MAX, "data length mismatch"); in nwamd_get_dhcpinfo_data()
207 (void) snprintf(errmsg, LINE_MAX, "cannot decode reply"); in nwamd_get_dhcpinfo_data()
/illumos-gate/usr/src/lib/libinstzones/common/
H A Dzones_str.c462 assert(vres < LINE_MAX); in _z_strPrintf()
475 assert(vres < LINE_MAX); in _z_strPrintf()
/illumos-gate/usr/src/cmd/bc/
H A Dbc.y76 char cary[LINE_MAX+1];
78 char *cpend = &cary[LINE_MAX]; /* last address (not the null char) */
699 char mbuf[LINE_MAX]; in getch()
844 char mbuf[LINE_MAX]; in yyinit()
/illumos-gate/usr/src/boot/include/
H A Dlimits.h70 #define LINE_MAX 2048 /* max bytes in an input line */ macro
/illumos-gate/usr/src/cmd/grpck/
H A Dgrpck.c59 #define MYBUFSIZE (LINE_MAX) /* max line length including newline and null */
176 if ((buf_len + 1) > LINE_MAX) in main()
/illumos-gate/usr/src/head/
H A Dlimits.h181 #define LINE_MAX _POSIX2_LINE_MAX macro
/illumos-gate/usr/src/cmd/expand/
H A Dunexpand.c50 #define INPUT_SIZ LINE_MAX /* POSIX.2 */

123