newsgnulib - GNU portability library - News: New features

 
 
Latest News
Gnulib helps you porting to Android posted by haible, Sat 15 Apr 2023 10:31:06 PM UTC
Gnulib helps you get away from fork() + exec() posted by haible, Sun 20 Nov 2022 04:27:43 PM UTC
Gnulib provides versatile bit-set implementations posted by akim, Wed 13 Jan 2021 12:17:37 PM UTC
Gnulib supports portable multithreading posted by haible, Wed 30 Dec 2020 03:10:08 PM UTC
Gnulib helps you write efficient algorithms posted by haible, Wed 23 Dec 2020 01:42:02 PM UTC

New features

Item posted by Bruno Haible <haible> on Sat 21 Apr 2012 07:22:08 PM UTC.

New major features were added recently:

  • Large File Support on native Windows: The new module 'largefile' enables upport for files larger than 2 GiB not only on Unix platforms, but also on native Windows.


  • The Microsoft Visual C compiler is now supported for most modules, through the wrapper scripts 'compile' and 'ar-lib' from Automake. This is an alternative to the mingw environment, for producing native Windows binaries.


  • 'stdnoreturn' module: Provides a <stdnoreturn.h> header that nearly conforms to ISO C11.


  • 'stdalign' module: Provide a <stdalign.h> header that nearly conforms to ISO C11 and C++11.


  • The 'fsusage' module now supports large volumes on GNU/Hurd, MacOS X, AIX, HP-UX, Solaris.


  • Many new modules for POSIX functions:
    • <dirent.h>: closedir, opendir, readdir, rewinddir.
    • <locale.h>: localeconv.
    • <math.h>: acosf, asinf, atanf, atan2f, cbrt{f,l}, copysign{f,l}, cosf, coshf, expf, exp2{,f,l}, expm1{,f,l}, fabs{f,l}, fma{,f,l}, fmod{f,l}, frexpf, hypot{f,l}, ilogb{,f,l}, logf, ldexpf, log10{f,l}, log1p{f,l}, log2{,f,l}, logb{f,l}, modf{f,l}, powf, remainder{f,l}, rint{f,l}, sinf, sinhf, sqrtf, tanf, tanhf.
    • <signal.h>: pthread_sigmask.
    • <stdio.h>: fdopen, pclose.
    • <stdlib.h>: posix_openpt, random.
    • <strings.h: ffs.
    • <sys/resource.h>: getrusage.
    • <sys/stat.h>: fstat.
    • <sys/types.h>: sys_types.
    • <unistd.h>: chdir, dup, fdatasync, isatty.
    • <time.h>: timer_settime


  • Some new modules for glibc functions:
    • <stdlib.h>: ptsname_r.
    • <strings.h>: ffsl, ffsll.
    • <unistd.h>: sethostname.


And, of course, many new workarounds to various vendor libc bugs on various platforms.

Enjoy!

 

Back to the top

Powered by Savane 3.13-758e.
Corresponding source code