ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/ev.pod
(Generate patch)

Comparing libev/ev.pod (file contents):
Revision 1.387 by root, Tue Dec 20 01:47:49 2011 UTC vs.
Revision 1.388 by root, Tue Dec 20 04:08:35 2011 UTC

4652With an intelligent-enough linker (gcc+binutils are intelligent enough 4652With an intelligent-enough linker (gcc+binutils are intelligent enough
4653when you use C<-Wl,--gc-sections -ffunction-sections>) functions unused by 4653when you use C<-Wl,--gc-sections -ffunction-sections>) functions unused by
4654your program might be left out as well - a binary starting a timer and an 4654your program might be left out as well - a binary starting a timer and an
4655I/O watcher then might come out at only 5Kb. 4655I/O watcher then might come out at only 5Kb.
4656 4656
4657=item EV_API_STATIC
4658
4659If this symbol is defined (by default it is not), then all identifiers
4660will have static linkage. This means that libev will not export any
4661identifiers, and you cannot link against libev anymore. This can be useful
4662when you embed libev, only want to use libev functions in a single file,
4663and do not want its identifiers to be visible.
4664
4665To use this, define C<EV_API_STATIC> and include F<ev.c> in the file that
4666wants to use libev.
4667
4657=item EV_AVOID_STDIO 4668=item EV_AVOID_STDIO
4658 4669
4659If this is set to C<1> at compiletime, then libev will avoid using stdio 4670If this is set to C<1> at compiletime, then libev will avoid using stdio
4660functions (printf, scanf, perror etc.). This will increase the code size 4671functions (printf, scanf, perror etc.). This will increase the code size
4661somewhat, but if your program doesn't otherwise depend on stdio and your 4672somewhat, but if your program doesn't otherwise depend on stdio and your

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines