srv_bzero

Sets the contents of a memory location to 0.


Important This Open Data Services function or macro is only supported in Microsoft® SQL Server™ version 7.0 for backward compatibility.


For more information about Open Data Services functions or macros supported for backward compatibility, see Open Data Services (Level 3).

Syntax

int srv_bzero (
void * location,
DBINT count );

Arguments
location
Is a pointer to the source of the data to be set to 0.
count
Is the number of bytes to set to 0.
Returns

SUCCEED if the memory was successfully set to 0; otherwise, FAIL.

Remarks

The memory location must be a valid nonnull pointer. The srv_bzero function is provided for backward compatibility with earlier versions of Open Data Services. It is equivalent to the memset function.

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.