|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T s
Length: 704 (0x2c0) Types: TextFile Names: »strings.3«
└─⟦87ddcff64⟧ Bits:30001253 CPHDIST85 Tape, 1985 Autumn Conference Copenhagen └─⟦this⟧ »cph85dist/stat/doc/man/strings.3«
.TH STRINGS 3 "March 5, 1985" "UNIX|STAT 5.0" "UNIX Programmer's Manual" .SH NAME sstrings \- parse fields from a line .SH SYNOPSIS .nf #include <stdio.h> sstrings (line, array, maxfields, maxlen) char *line; char *array; .fi .SH DESCRIPTION .I Sstrings parses line (using whitespace as delimiters) into separate strings put into array[i]. Array is assumed to be declared something like: .ce char array[maxfields][maxlen]; At most maxfields fields are allowed, and fields longer than maxlen characters are silently truncated. The function returns the number of fields parsed, but if too many fields are present, maxfields+1 is returned. .SH AUTHOR Gary Perlman (based on a function of Jay McClelland's).