mirror of https://github.com/mkerrisk/man-pages
system_data_types.7: wfix
A limit can be defined by other than POSIX Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
89c6c2bdd2
commit
097a4463dd
|
@ -651,7 +651,7 @@ or
|
|||
should be used.
|
||||
When copying from the temporary variable to the destination variable,
|
||||
the value could overflow.
|
||||
If POSIX provides lower and upper limits to the type,
|
||||
If the type has upper and lower limits,
|
||||
the user should check that the value is within those limits,
|
||||
before actually copying the value.
|
||||
The example below shows how these conversions should be done.
|
||||
|
|
Loading…
Reference in New Issue