summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/reallocarray.c
diff options
context:
space:
mode:
authormillert <>2017-05-24 21:18:25 +0000
committermillert <>2017-05-24 21:18:25 +0000
commit582bf8c75ad625f174914c547cfe5b962ba1f539 (patch)
treef0bf52388f83831ca81a49f345135df882cf9662 /src/lib/libc/stdlib/reallocarray.c
parentbda66dbfbd399c867174f3c429d4b37e15f908d9 (diff)
downloadopenbsd-582bf8c75ad625f174914c547cfe5b962ba1f539.tar.gz
openbsd-582bf8c75ad625f174914c547cfe5b962ba1f539.tar.bz2
openbsd-582bf8c75ad625f174914c547cfe5b962ba1f539.zip
Support swapping 32-bit aligned elements on 64-bit platforms.
Previously they would be swapped a byte at a time when sizeof(int) != sizeof(long). Idea from FreeBSD.
Diffstat (limited to 'src/lib/libc/stdlib/reallocarray.c')
0 files changed, 0 insertions, 0 deletions