uninset(3nw)


uninset -- copies character into first specified number of characters of string

Synopsis

   #include <unicode.h> 
   

unicode N_FAR *N_API uninset (unicode N_FAR * s, int c, size_t n);

Description

The parameters are as follows:

s
(OUT) Points to the string to modify.

c
(IN) Specifies the fill character.

n
(IN) Specifies the maximum number of characters (not bytes).

Return values

Pointer to s.

Notices

uninset copies c into the first n characters of s. If n > unilen(s), then strlen(s) replaces n. uninset stops after either setting n characters, or else finding a null character.

uninset corresponds to C memset.

Services

Unicode

NCP calls

None

References

uniset(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.