Content-type: text/html Man page of mlib_memset

mlib_memset

Section: mediaLib Library Functions (3MLIB)
Updated: 2 Mar 2007
Index Return to Main Contents
 

NAME

mlib_memset - set a block of bytes  

SYNOPSIS

cc [ flag... ] file... -lmlib [ library... ]
#include <mlib.h>

void *mlib_memset(void *s, mlib_s32 c, size_t n);

 

DESCRIPTION

The mlib_memset() function sets the first n bytes in memory area s to the value of c (converted to an unsigned char). It returns s.

This function is a wrapper of the standard C function memset().  

PARAMETERS

The function takes the following arguments:

s

Pointer to the destination.

c

Value to set.

n

Number of bytes to be set.

 

RETURN VALUES

The function returns a pointer to the destination.  

ATTRIBUTES

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE

Interface StabilityCommitted

MT-Level

 

SEE ALSO

mlib_memcpy(3MLIB), mlib_memmove(3MLIB), memory(3C), attributes(5)


 

Index

NAME
SYNOPSIS
DESCRIPTION
PARAMETERS
RETURN VALUES
ATTRIBUTES
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 02:38:08 GMT, October 02, 2010