ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libecb/ecb.pod
(Generate patch)

Comparing libecb/ecb.pod (file contents):
Revision 1.22 by root, Fri May 27 00:18:14 2011 UTC vs.
Revision 1.23 by sf-exg, Fri May 27 01:35:46 2011 UTC

434Returns the positive remainder of the modulo operation between C<m> and 434Returns the positive remainder of the modulo operation between C<m> and
435C<n>. Unlike the C modulo operator C<%>, this function ensures that the 435C<n>. Unlike the C modulo operator C<%>, this function ensures that the
436return value is always positive - ISO C guarantees very little when 436return value is always positive - ISO C guarantees very little when
437negative numbers are used with C<%>. 437negative numbers are used with C<%>.
438 438
439C<n> must be strictly positive (i.e. C<< >1 >>), while C<m> must be 439C<n> must be strictly positive (i.e. C<< >= 1 >>), while C<m> must be
440negatable, that is, both C<m> and C<-m> must be representable in its 440negatable, that is, both C<m> and C<-m> must be representable in its
441type. 441type.
442 442
443=back 443=back
444 444
445=head2 UTILITY 445=head2 UTILITY
446 446
447=over 4 447=over 4
448 448
449=item element_count = ecb_array_length (name) [MACRO] 449=item element_count = ecb_array_length (name)
450 450
451Returns the number of elements in the array C<name>. For example: 451Returns the number of elements in the array C<name>. For example:
452 452
453 int primes[] = { 2, 3, 5, 7, 11 }; 453 int primes[] = { 2, 3, 5, 7, 11 };
454 int sum = 0; 454 int sum = 0;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines