forked from pool/libedit
081713194a
- open all FDs with O_CLOEXEC in the library code. - use gcc visibility by just reusing upstream macros "public" and "protected" (forwarded request 109055 from elvigia) OBS-URL: https://build.opensuse.org/request/show/109079 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libedit?expand=0&rev=19 |
||
---|---|---|
.gitattributes | ||
.gitignore | ||
baselibs.conf | ||
libedit-20100424-3.0-ncurses.patch | ||
libedit-20110802-3.0.tar.gz | ||
libedit-ocloexec.patch | ||
libedit-visibility.patch | ||
libedit.changes | ||
libedit.spec | ||
README.SuSE |
Examples ---------- An Editline port of the fileman.c example from the GNU Readline documentation is distributed with this package. Note libcurses, as well as libedit, should be linked to Editline enabled programs, e.g. gcc -o fileman fileman.c -ledit -lcurses A pkg-config libedit.pc file is provided, so you can write PKG_CHECK_MODULES(LIBEDIT, libedit) in configure.ac of your client program to detect the existence of libedit.so and to set CFLAGS and LIBS for using libedit. Using the pkg-config helper tool, the above fileman example looks like, gcc -o fileman fileman.c `pkg-config --libs --cflags libedit`