sizeof.3

MudOS_0.9.19/doc/efuns/types/sizeof.3 · 368 B

From the archive MudOS_0.9.19.tar.gz

Download the archive   « Back to the archive contents

.\"return the number of elements in an array or mapping
.TH sizeof 3

.SH NAME
sizeof() - return the number of elements in an array or mapping

.SH SYNOPSIS
int sizeof(mixed var);

.SH DESCRIPTION
Return the number of elements in an array, mapping, or buffer 'var'.  
If `var' is not an array, mapping, or buffer, then zero (0) is returned.

.SH SEE ALSO
allocate(3).

Site Stats

Snippets: 1791
Codebases: 571