netbsd man page for __arraycount

Query: __arraycount

OS: netbsd

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

__ARRAYCOUNT(3) 					   BSD Library Functions Manual 					   __ARRAYCOUNT(3)

NAME
__arraycount -- macro for statically allocated arrays
SYNOPSIS
#include <sys/cdefs.h> size_t __arraycount(x);
DESCRIPTION
The __arraycount() macro returns the number of elements in a statically allocated buffer.
EXAMPLES
The following example demonstrates a typical usage of __arraycount(): uint8_t buf[BUFSIZE]; size_t i; ... for (i = 0; i < __arraycount(buf); i++) ...
SEE ALSO
cdefs(3)
HISTORY
The __arraycount() macro first appeared in NetBSD 4.0.
BSD
December 16, 2010 BSD
Related Man Pages
__bit(3) - netbsd
__rcsid(3) - netbsd
__shiftin(3) - netbsd
__string(3) - netbsd
bits(3) - netbsd
Similar Topics in the Unix Linux Community
Accessing PL/SQL OUT variables in Korn Shell Script
Oracle Query results to be stored in variables
how to call oracle stored procedure from unix shell
Select multiple values from an Oracle database and assign it to two dimensional array
Passing Shell array to SQLPlus