forked from pool/libedit
Dirk Mueller
283dd71b36
- libedit-hidden-symbols.patch: hide strlcpy and strlcat symbols * Both now part of POSIX, will appear in libc shortly. * Function names starting with ‘str’, ‘mem’, or ‘wcs’ followed by a lowercase letter are reserved. OBS-URL: https://build.opensuse.org/request/show/1077563 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libedit?expand=0&rev=70 |
||
---|---|---|
.gitattributes | ||
.gitignore | ||
baselibs.conf | ||
libedit-20180525-manpage-conflicts.patch | ||
libedit-20210910-3.1.tar.gz | ||
libedit-hidden-symbols.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`