Home
last modified time | relevance | path

Searched refs:pds_header (Results 1 – 1 of 1) sorted by relevance

/titanic_44/usr/src/lib/libpkg/common/
H A Ddstream.c136 static char *pds_header; variable
147 nextp = strchr(pds_header, '\n'); in ds_gets()
149 length = strlen(pds_header); in ds_gets()
158 nextp = strchr(pds_header, '\n'); in ds_gets()
162 if (length + (int)strlen(pds_header) > size) in ds_gets()
164 (void) strncpy(buf + length, pds_header, strlen(pds_header)); in ds_gets()
165 buf[length + strlen(pds_header)] = '\0'; in ds_gets()
166 pds_header = nextp + 1; in ds_gets()
170 if ((int)strlen(pds_header) > size) in ds_gets()
172 (void) strncpy(buf, pds_header, strlen(pds_header)); in ds_gets()
[all …]