Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ strset(DOS) — Xenix 2.3.4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

string(S)



     STRSET(DOS)              XENIX System V               STRSET(DOS)



     Name
          strset - Sets all characters in a string to one charater.

     Syntax
          #include <string.h>

          char *strset (string, c);
          char *string;
          char c;

     Description
          The strset function sets all characters of the given string
          except the terminating null character ('\0') to c.

     Return Value
          strset returns a pointer to the altered string.  There is no
          error return.

     See Also
          string(S)

     Example
          #include <string.h>

          char string[100], *result;      .       .       .  /* Set a
          string to be all blanks.  */

          result = strset (string,' ');

     Notes
          This call must be compiled with the -dos flag.
























     Page 1                                           (printed 8/7/87)



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026