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 arraysSYNOPSIS#include <sys/cdefs.h> size_t __arraycount(x);DESCRIPTIONThe __arraycount() macro returns the number of elements in a statically allocated buffer.EXAMPLESThe following example demonstrates a typical usage of __arraycount(): uint8_t buf[BUFSIZE]; size_t i; ... for (i = 0; i < __arraycount(buf); i++) ...SEE ALSOcdefs(3)HISTORYThe __arraycount() macro first appeared in NetBSD 4.0.BSDDecember 16, 2010 BSD
Related Man Pages |
---|
__unconst(3) - netbsd |
__bits(3) - netbsd |
__concat(3) - netbsd |
__kernel_rcsid(3) - netbsd |
__unvolatile(3) - netbsd |
Similar Topics in the Unix Linux Community |
---|
Script to kill all child process for a given PID |
kill parent and child |
Oracle Query results to be stored in variables |
problem in shell script |
Passing Shell array to SQLPlus |