Guardian Native C Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)
memset64(3) Guardian Native C Library Calls Reference Manual
NAME
memset64 - Sets characters in memory
LIBRARY
H-series and J-series native Guardian processes: implicit libraries
H-series and J-series OSS processes: implicit libraries
SYNOPSIS
#include <string.h>
void _ptr64 *memset64(
void _ptr64 *s,
int c,
unsigned long long n);
PARAMETERS
s Points to the location of a string.
c Specifies a byte for which c is the target of the copy.
n Specifies the number of bytes to copy.
DESCRIPTION
The memset64() function operates on strings in memory areas. A memory area is a group of con-
tiguous bytes bound by a count and not terminated by a null character. This memory function
does not check for overflow of the receiving memory area.
The memset64() function copies the value of the byte specified by the c parameter, which is
converted to an unsigned char, into each of the first n locations of the string pointed to by the s
parameter.
RETURN VALUES
The memset64() function returns the string pointed to by the s parameter.
RELATED INFORMATION
Functions: memchr64(3), memcmp64(3), memcpy64(3), memmove64(3), strcat64(3).
4−106 Hewlett-Packard Company 527192-018