Difference between revisions of "LONG MAX"

From OpenVZ Virtuozzo Containers Wiki
Jump to: navigation, search
m (removed extra brace)
(fixed)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''MAX_ULONG''' is a constant which is equal to <code>2147483647</code> (2<sup>32</sup>-1) on 32-bit architectures (such as x86) and to <code>9223372036854775807</code> (2<sup>64</sup>-1) on a 64-bit architectures (such as x86_64).
+
'''LONG_MAX''' is a constant which is equal to <code>2147483647</code> (2<sup>31</sup>-1) on 32-bit architectures (such as x86) and to <code>9223372036854775807</code> (2<sup>63</sup>-1) on 64-bit architectures (such as x86_64 and ia64).
 +
 
 +
This value is use as 'unlimited' by vzctl when setting user beancounter values.
  
 
[[Category:Definitions]]
 
[[Category:Definitions]]

Latest revision as of 13:48, 25 January 2011

LONG_MAX is a constant which is equal to 2147483647 (231-1) on 32-bit architectures (such as x86) and to 9223372036854775807 (263-1) on 64-bit architectures (such as x86_64 and ia64).

This value is use as 'unlimited' by vzctl when setting user beancounter values.