FdPrintf.cpp |
Template class allowing a limited number of increments on a value |
4960 |
FdPrintf.h |
We can't use libc's (f)printf because it would reenter in replace_malloc,
So use a custom and simplified version. Only %p, %zu, %s and %% are
supported, %zu, %s, support width specifiers.
/!\ This function used a fixed-size internal buffer. The caller is
expected to not use a format string that may overflow.
The aFd argument is a file descriptor on UNIX and a native win32 file
handle on Windows (from CreateFile). We can't use the windows POSIX
APIs is that they don't support O_APPEND in a multi-process-safe way,
while CreateFile does.
|
1111 |
LogAlloc.cpp |
Android doesn't have pthread_atfork defined in pthread.h |
8074 |
moz.build |
|
685 |
README |
Logalloc is a replace-malloc library for Firefox (see |
4124 |
replay |
|
|