diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2017-06-12 06:52:58 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2017-06-12 06:52:58 -0700 |
commit | 547e1d5b6bf8945ecc3f680bd2dbd88bc4da56d5 (patch) | |
tree | 33866a5f68be66d86c1058d46a5ec95b82853c7b /mpi/mpi.c | |
parent | 45ae26abca02ae71d46fd4baa2fba1a0b311e816 (diff) | |
download | txr-547e1d5b6bf8945ecc3f680bd2dbd88bc4da56d5.tar.gz txr-547e1d5b6bf8945ecc3f680bd2dbd88bc4da56d5.tar.bz2 txr-547e1d5b6bf8945ecc3f680bd2dbd88bc4da56d5.zip |
lib: new chk_xalloc, with mult overflow check.
This will simplify code that allocates an array-like
object whose size is the product of two numbers.
* lib.c (chk_xalloc): New function.
* lib.h (chk_xalloc): Declared.
Diffstat (limited to 'mpi/mpi.c')
0 files changed, 0 insertions, 0 deletions