summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2010-05-06lint friendlychristos
2010-05-05PR/43258: Hauke Fath: remove duplicate setservent declarationchristos
2010-05-04handle the difference between C99 and GNUC semantics of inlineplunky
functions with external linkage, by using "inline" for STDC and "extern inline" for GNUC (as noted by joerg@, using static inline may be clearer)
2010-05-02typo in commentdholland
2010-04-25Add the constant database reader (cdbr(3)) and writer ((cdbw(3)).joerg
They implement a space efficent write-once database with fast access path. Switch the services(5) database to use cdb. The size of the database file decreases from 2.1MB disk space to 307KB. Access performance is about the same if setservent(0) is used and about an order of magnitude faster otherwise. services_mkdb defaults to the new format, but can optionally create the old db(3) format as well for statically linked legacy applications.
2010-04-24Define _PATH_POWER and use it.jruoho
2010-04-17change size_t to ssize_t for POSIX compliance.christos
2010-04-17PR/43172: Jukka Ruohonen: swab(3) lacks restrict-keywordchristos
2010-03-271. {wctype,wctrans,mbstate}_t: switch MD to MI like othertnozaki
libc implementation (such as *BSD and glibc2). 2. don't typedef void * wc{type,trans}_t, suggested by soda@-san. it may pass through compiler type check, it's harmful. so i introduce dummy struct __tag_wc{type,trans}_t(iconv_t already does). no ABI change was made.
2010-02-25Consistently use __printflike and __scanflike.joerg
2010-02-23PR 36988: ISO C99 mandates that HUGE_VAL, HUGE_VALF, HUGE_VALL andjoerg
INFINITY are constant expressions. Use the GCC builtins if possible to implement them.
2010-02-03getent cannot report on termcap as we now use terminfo.roy
2010-02-03Userland now builds and uses terminfo instead of termcap.roy
OK: core@, jdc@
2010-01-27retire pw_policy(3) -- it is not found useful, there are otherdrochner
(more common) ways to enforce a password strength policy approved by elad
2010-01-25vasnprintf and asnprintf were never compiled in our libroken.a and neverchristos
used by heimdal programs. Remove the false advertising here that broke the cygwin build.
2010-01-24make the window size function return the lines and columns variables separatelychristos
instead of depending on the existance of struct winsize. Technically I should bump the library version or version the symbol, but nothing seems to use this outside the library!
2010-01-11Use a proper char */size_t pair in __sfileext to keep track of the linejoerg
buffer for fgetln and fgetwln. Simplifies code by dropping the INT_MAX related logic. Drop conditionals around FREELB, free(NULL) is valid.
2010-01-11Add exp2 and exp2mchristos
2010-01-07Typo in comment.skrll
2009-12-22+_PATH_PUDpooka
2009-11-17add some prototypes for checked string functionsdrochner
2009-11-15Don't define wchar_t for c++; it is native in the language. From Alexanderchristos
Nasonov
2009-11-04typedef struct link_map as Link_map (for solaris-compat)pooka
2009-10-24expose res_check for the benefit of mDNS.christos
2009-10-21Remove 3rd and 4th clauses in christos' license. OK christos.snj
2009-10-13In a furious blaze of *facepalm* / "what was i thinking?", fix thepooka
open routine function pointer prototype of opendisk1() to match the prototype of open().
2009-10-04oops forgot to commit that one--- Add f{dim,min,max}{,l,f}christos
2009-10-02Introduce allocaddrinfo(3) to make writing getaddrinfo() nss plugins easier.tsarna
Discussed on tech-net.
2009-09-24Add Solarisa-like dlinfo() interface to the ELF dynamic linker.pooka
Implement RTLD_DI_LINKMAP which returns a pointer to the linkmap chain at the given object. Other Solaris queries are currently unimplemented.
2009-09-08Add opendisk1(), which functions like opendisk(), but takes a functionpooka
pointer to the routine to be used for open().
2009-08-21Introduce a new accessor macro N_NAME() to access the n_name fieldhe
in struct nlist, since it's accessed differently depending on whether we do a.out or not. Use this macro as appropriate in the nlist* functions. Also replace some includes of <a.out.h> with <nlist.h>, to fix build problem for mips.
2009-08-19include <stdint.h> instead of <sys/types.h>.yamt
the latter pulls FD_SET etc and it makes wine-1.1.27's winsock vs unixsocket namespace dance unhappy. for more information, grep Include_winsock_h_before_stdlib_h_or_use_the_MSVCRT_library in their source.
2009-08-16Version fts one more time! This is the most versioned API ever... Bumpchristos
fts_level from short to int to avoid a potential DoS. From Maksymilian Arciemowicz
2009-08-16Repair more fallout from the exec_aout.h change.pgoyette
No guarantee that these are the "right" things to do, but they do allow building of port-amd64 again.
2009-08-12Allow <machine/setjmp.h> to override the type using in jmpbuf.matt
2009-07-22Declare strsignal(3) in <string.h>, per POSIX-2008, and adjustkleink
documentation accordingly. Fixes PR standards/41325 from Perry E. Metzger.
2009-07-22add a "public domain" note (there is nothing creative justifying adrochner
long license)
2009-07-21Some parts of gcc fail with the direct include of sys/inttypes.h, sojoerg
fall back to using sys/types.h like stdlib.h does.
2009-07-21Move popcount et al to src/common and add popcount32/popcount64.joerg
Requested by rmind@. MD should now override popcount32/popcount64 and provide the aliases as fitting.
2009-07-21Add popcount(3) and the long and long long version. Name is inspired byjoerg
gnulib, the implementation goes back to the AMD Software Optimizer guide. A number of platforms will want to replace the C version with assembler code using native instructions.
2009-07-20Add a fast, platform independent hash function to libc.joerg
The algorithm used is the Jenkins hash. The name (mi_vector_hash) reflects the nature of the hash function. Add glue for libc ATF tests and include a test case to make sure that (mis)alignment and endianess are handled correctly. Bump libc minor to 169.
2009-07-13Add implementations for getdelim(3) and getline(3).roy
2009-05-14Add the getdate(3) function and getdate_err value, conforming to IEEEginsbach
Std 1003.1 (``POSIX.1'') and the Open Group Base Specifications X/Open System Interfaces extension (``XSI'').
2009-05-13Implement snprintb_m(3) to provide multi-line bit/bit-field decode.pgoyette
Discussed on tech-kern.
2009-05-01note that we have strsignal but it is in the wrong include file.perry
2009-05-01Add prototypes for stpcpy, stpncpy, strnlen, added in the latest POSIX.perry
Implementations in libc to follow. For POSIX compliance, we are still missing: strcoll_l strerror_l strsignal strxfrm_l
2009-04-20Bring back binary compatibility with the previous version of the resolver.christos
There was no room to allocate 16 bytes for _rnd in the struct in the _LP64 case, so we dynamically allocate now. Also put the _rnd field last, so that we are bitwise compatible too. Now of course we've run out of space, so next time will need to perform more evil tricks to fit.
2009-04-12merge libbindchristos
2009-04-10add memrchrchristos
2009-04-08add glob_pattern_p for glibc because cvs needs it and it is a huge messchristos
to compile in the gnu glob code.