2002-07-16 Jeff Johnston <jjohnstn@redhat.com>
* libc/Makefile.am (stmp-extra): New target to set makeinfo flag if LIBC_EXTRA_LIB is present. * libc/Makefile.in: Regenerated. * libc/libc.texinfo: Add blank line. * libc/argz/Makefile.am: Add doc support. * libc/search/Makefile.am: Ditto. * libc/argz/Makefile.in: Regenerated. * libc/search/Makefile.in: Ditto. * libc/misc/misc.tex: Add ffs function. * libc/stdio/ftell.c: Fix missing doc delimeter in description.
This commit is contained in:
parent
df2bb2a531
commit
778876f6ce
|
@ -1,3 +1,16 @@
|
||||||
|
2002-07-16 Jeff Johnston <jjohnstn@redhat.com>
|
||||||
|
|
||||||
|
* libc/Makefile.am (stmp-extra): New target to set makeinfo flag
|
||||||
|
if LIBC_EXTRA_LIB is present.
|
||||||
|
* libc/Makefile.in: Regenerated.
|
||||||
|
* libc/libc.texinfo: Add blank line.
|
||||||
|
* libc/argz/Makefile.am: Add doc support.
|
||||||
|
* libc/search/Makefile.am: Ditto.
|
||||||
|
* libc/argz/Makefile.in: Regenerated.
|
||||||
|
* libc/search/Makefile.in: Ditto.
|
||||||
|
* libc/misc/misc.tex: Add ffs function.
|
||||||
|
* libc/stdio/ftell.c: Fix missing doc delimeter in description.
|
||||||
|
|
||||||
2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
|
2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
|
||||||
|
|
||||||
* libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
|
* libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
|
||||||
|
|
|
@ -114,7 +114,7 @@ SUBDEFS = \
|
||||||
$(LIBC_EXTRA_DEF) \
|
$(LIBC_EXTRA_DEF) \
|
||||||
misc/stmp-def
|
misc/stmp-def
|
||||||
|
|
||||||
libc.info: sigset.texi targetdep.tex $(SUBDEFS)
|
libc.info: sigset.texi extra.texi targetdep.tex $(SUBDEFS)
|
||||||
|
|
||||||
stmp-sigset: config.status
|
stmp-sigset: config.status
|
||||||
if test -n "$(LIBC_SIGNAL_LIB)"; then \
|
if test -n "$(LIBC_SIGNAL_LIB)"; then \
|
||||||
|
@ -127,6 +127,17 @@ stmp-sigset: config.status
|
||||||
|
|
||||||
sigset.texi: stmp-sigset ; @true
|
sigset.texi: stmp-sigset ; @true
|
||||||
|
|
||||||
|
stmp-extra: config.status
|
||||||
|
if test -n "$(LIBC_EXTRA_LIB)"; then \
|
||||||
|
echo "@set EXTRA" >tmp.texi; \
|
||||||
|
else \
|
||||||
|
echo "@clear EXTRA" >tmp.texi; \
|
||||||
|
fi
|
||||||
|
$(SHELL) $(newlib_basedir)/../move-if-change tmp.texi extra.texi
|
||||||
|
touch $@
|
||||||
|
|
||||||
|
extra.texi: stmp-extra ; @true
|
||||||
|
|
||||||
stmp-targetdep: force
|
stmp-targetdep: force
|
||||||
rm -f tmp.texi
|
rm -f tmp.texi
|
||||||
targetdoc=`pwd`/tmp.texi; \
|
targetdoc=`pwd`/tmp.texi; \
|
||||||
|
|
|
@ -693,7 +693,7 @@ crt0.o: sys/crt0.o
|
||||||
|
|
||||||
sys/crt0.o: ; @true
|
sys/crt0.o: ; @true
|
||||||
|
|
||||||
libc.info: sigset.texi targetdep.tex $(SUBDEFS)
|
libc.info: sigset.texi extra.texi targetdep.tex $(SUBDEFS)
|
||||||
|
|
||||||
stmp-sigset: config.status
|
stmp-sigset: config.status
|
||||||
if test -n "$(LIBC_SIGNAL_LIB)"; then \
|
if test -n "$(LIBC_SIGNAL_LIB)"; then \
|
||||||
|
@ -706,6 +706,17 @@ stmp-sigset: config.status
|
||||||
|
|
||||||
sigset.texi: stmp-sigset ; @true
|
sigset.texi: stmp-sigset ; @true
|
||||||
|
|
||||||
|
stmp-extra: config.status
|
||||||
|
if test -n "$(LIBC_EXTRA_LIB)"; then \
|
||||||
|
echo "@set EXTRA" >tmp.texi; \
|
||||||
|
else \
|
||||||
|
echo "@clear EXTRA" >tmp.texi; \
|
||||||
|
fi
|
||||||
|
$(SHELL) $(newlib_basedir)/../move-if-change tmp.texi extra.texi
|
||||||
|
touch $@
|
||||||
|
|
||||||
|
extra.texi: stmp-extra ; @true
|
||||||
|
|
||||||
stmp-targetdep: force
|
stmp-targetdep: force
|
||||||
rm -f tmp.texi
|
rm -f tmp.texi
|
||||||
targetdoc=`pwd`/tmp.texi; \
|
targetdoc=`pwd`/tmp.texi; \
|
||||||
|
|
|
@ -37,4 +37,20 @@ lib_a_SOURCES = $(LIB_SOURCES)
|
||||||
noinst_DATA =
|
noinst_DATA =
|
||||||
endif # USE_LIBTOOL
|
endif # USE_LIBTOOL
|
||||||
|
|
||||||
|
SUFFIXES = .def
|
||||||
|
|
||||||
|
CHEWOUT_FILES =
|
||||||
|
|
||||||
|
CHEW = ../../doc/makedoc -f $(srcdir)/../../doc/doc.str
|
||||||
|
|
||||||
|
.c.def:
|
||||||
|
$(CHEW) < $< > $*.def 2> $*.ref
|
||||||
|
touch stmp-def
|
||||||
|
|
||||||
|
TARGETDOC = ../tmp.texi
|
||||||
|
|
||||||
|
doc: $(CHEWOUT_FILES)
|
||||||
|
|
||||||
|
CLEANFILES = $(CHEWOUT_FILES) *.ref
|
||||||
|
|
||||||
include $(srcdir)/../../Makefile.shared
|
include $(srcdir)/../../Makefile.shared
|
||||||
|
|
|
@ -138,6 +138,16 @@ libargz_la_LDFLAGS = -Xcompiler -nostdlib
|
||||||
@USE_LIBTOOL_FALSE@noinst_DATA =
|
@USE_LIBTOOL_FALSE@noinst_DATA =
|
||||||
@USE_LIBTOOL_FALSE@noinst_LIBRARIES = @USE_LIBTOOL_FALSE@lib.a
|
@USE_LIBTOOL_FALSE@noinst_LIBRARIES = @USE_LIBTOOL_FALSE@lib.a
|
||||||
@USE_LIBTOOL_FALSE@lib_a_SOURCES = @USE_LIBTOOL_FALSE@$(LIB_SOURCES)
|
@USE_LIBTOOL_FALSE@lib_a_SOURCES = @USE_LIBTOOL_FALSE@$(LIB_SOURCES)
|
||||||
|
|
||||||
|
SUFFIXES = .def
|
||||||
|
|
||||||
|
CHEWOUT_FILES =
|
||||||
|
|
||||||
|
CHEW = ../../doc/makedoc -f $(srcdir)/../../doc/doc.str
|
||||||
|
|
||||||
|
TARGETDOC = ../tmp.texi
|
||||||
|
|
||||||
|
CLEANFILES = $(CHEWOUT_FILES) *.ref
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/../../mkinstalldirs
|
mkinstalldirs = $(SHELL) $(top_srcdir)/../../mkinstalldirs
|
||||||
CONFIG_CLEAN_FILES =
|
CONFIG_CLEAN_FILES =
|
||||||
LIBRARIES = $(noinst_LIBRARIES)
|
LIBRARIES = $(noinst_LIBRARIES)
|
||||||
|
@ -186,7 +196,7 @@ OBJECTS = $(lib_a_OBJECTS) $(libargz_la_OBJECTS)
|
||||||
|
|
||||||
all: all-redirect
|
all: all-redirect
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
.SUFFIXES: .S .c .lo .o .obj .s
|
.SUFFIXES: .S .c .def .lo .o .obj .s
|
||||||
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(srcdir)/../../Makefile.shared
|
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(srcdir)/../../Makefile.shared
|
||||||
cd $(top_srcdir) && $(AUTOMAKE) --cygnus argz/Makefile
|
cd $(top_srcdir) && $(AUTOMAKE) --cygnus argz/Makefile
|
||||||
|
|
||||||
|
@ -340,6 +350,7 @@ installdirs:
|
||||||
mostlyclean-generic:
|
mostlyclean-generic:
|
||||||
|
|
||||||
clean-generic:
|
clean-generic:
|
||||||
|
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
||||||
|
|
||||||
distclean-generic:
|
distclean-generic:
|
||||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
||||||
|
@ -390,6 +401,12 @@ mostlyclean-generic distclean-generic clean-generic \
|
||||||
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
|
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
|
||||||
|
|
||||||
|
|
||||||
|
.c.def:
|
||||||
|
$(CHEW) < $< > $*.def 2> $*.ref
|
||||||
|
touch stmp-def
|
||||||
|
|
||||||
|
doc: $(CHEWOUT_FILES)
|
||||||
|
|
||||||
objectlist.awk.in: $(noinst_LTLIBRARIES)
|
objectlist.awk.in: $(noinst_LTLIBRARIES)
|
||||||
-rm -f objectlist.awk.in
|
-rm -f objectlist.awk.in
|
||||||
for i in `ls *.lo` ; \
|
for i in `ls *.lo` ; \
|
||||||
|
|
|
@ -165,6 +165,7 @@ into another language, under the above conditions for modified versions.
|
||||||
* Timefns::
|
* Timefns::
|
||||||
* Locale::
|
* Locale::
|
||||||
* Syscalls::
|
* Syscalls::
|
||||||
|
|
||||||
* Misc::
|
* Misc::
|
||||||
* Arglists::
|
* Arglists::
|
||||||
* Reentrancy::
|
* Reentrancy::
|
||||||
|
|
|
@ -3,8 +3,12 @@
|
||||||
This chapter describes miscellaneous routines not covered elsewhere.
|
This chapter describes miscellaneous routines not covered elsewhere.
|
||||||
|
|
||||||
@menu
|
@menu
|
||||||
|
* ffs:: Return first bit set in a word
|
||||||
* unctrl:: Return printable representation of a character
|
* unctrl:: Return printable representation of a character
|
||||||
@end menu
|
@end menu
|
||||||
|
|
||||||
|
@page
|
||||||
|
@include misc/ffs.def
|
||||||
|
|
||||||
@page
|
@page
|
||||||
@include misc/unctrl.def
|
@include misc/unctrl.def
|
||||||
|
|
|
@ -37,4 +37,20 @@ lib_a_SOURCES = $(LIB_SOURCES)
|
||||||
noinst_DATA =
|
noinst_DATA =
|
||||||
endif # USE_LIBTOOL
|
endif # USE_LIBTOOL
|
||||||
|
|
||||||
|
SUFFIXES = .def
|
||||||
|
|
||||||
|
CHEWOUT_FILES =
|
||||||
|
|
||||||
|
CHEW = ../../doc/makedoc -f $(srcdir)/../../doc/doc.str
|
||||||
|
|
||||||
|
.c.def:
|
||||||
|
$(CHEW) < $< > $*.def 2> $*.ref
|
||||||
|
touch stmp-def
|
||||||
|
|
||||||
|
TARGETDOC = ../tmp.texi
|
||||||
|
|
||||||
|
doc: $(CHEWOUT_FILES)
|
||||||
|
|
||||||
|
CLEANFILES = $(CHEWOUT_FILES) *.ref
|
||||||
|
|
||||||
include $(srcdir)/../../Makefile.shared
|
include $(srcdir)/../../Makefile.shared
|
||||||
|
|
|
@ -138,6 +138,16 @@ libsearch_la_LDFLAGS = -Xcompiler -nostdlib
|
||||||
@USE_LIBTOOL_FALSE@noinst_DATA =
|
@USE_LIBTOOL_FALSE@noinst_DATA =
|
||||||
@USE_LIBTOOL_FALSE@noinst_LIBRARIES = @USE_LIBTOOL_FALSE@lib.a
|
@USE_LIBTOOL_FALSE@noinst_LIBRARIES = @USE_LIBTOOL_FALSE@lib.a
|
||||||
@USE_LIBTOOL_FALSE@lib_a_SOURCES = @USE_LIBTOOL_FALSE@$(LIB_SOURCES)
|
@USE_LIBTOOL_FALSE@lib_a_SOURCES = @USE_LIBTOOL_FALSE@$(LIB_SOURCES)
|
||||||
|
|
||||||
|
SUFFIXES = .def
|
||||||
|
|
||||||
|
CHEWOUT_FILES =
|
||||||
|
|
||||||
|
CHEW = ../../doc/makedoc -f $(srcdir)/../../doc/doc.str
|
||||||
|
|
||||||
|
TARGETDOC = ../tmp.texi
|
||||||
|
|
||||||
|
CLEANFILES = $(CHEWOUT_FILES) *.ref
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/../../mkinstalldirs
|
mkinstalldirs = $(SHELL) $(top_srcdir)/../../mkinstalldirs
|
||||||
CONFIG_CLEAN_FILES =
|
CONFIG_CLEAN_FILES =
|
||||||
LIBRARIES = $(noinst_LIBRARIES)
|
LIBRARIES = $(noinst_LIBRARIES)
|
||||||
|
@ -180,7 +190,7 @@ OBJECTS = $(lib_a_OBJECTS) $(libsearch_la_OBJECTS)
|
||||||
|
|
||||||
all: all-redirect
|
all: all-redirect
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
.SUFFIXES: .S .c .lo .o .obj .s
|
.SUFFIXES: .S .c .def .lo .o .obj .s
|
||||||
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(srcdir)/../../Makefile.shared
|
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(srcdir)/../../Makefile.shared
|
||||||
cd $(top_srcdir) && $(AUTOMAKE) --cygnus search/Makefile
|
cd $(top_srcdir) && $(AUTOMAKE) --cygnus search/Makefile
|
||||||
|
|
||||||
|
@ -334,6 +344,7 @@ installdirs:
|
||||||
mostlyclean-generic:
|
mostlyclean-generic:
|
||||||
|
|
||||||
clean-generic:
|
clean-generic:
|
||||||
|
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
||||||
|
|
||||||
distclean-generic:
|
distclean-generic:
|
||||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
||||||
|
@ -384,6 +395,12 @@ mostlyclean-generic distclean-generic clean-generic \
|
||||||
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
|
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
|
||||||
|
|
||||||
|
|
||||||
|
.c.def:
|
||||||
|
$(CHEW) < $< > $*.def 2> $*.ref
|
||||||
|
touch stmp-def
|
||||||
|
|
||||||
|
doc: $(CHEWOUT_FILES)
|
||||||
|
|
||||||
objectlist.awk.in: $(noinst_LTLIBRARIES)
|
objectlist.awk.in: $(noinst_LTLIBRARIES)
|
||||||
-rm -f objectlist.awk.in
|
-rm -f objectlist.awk.in
|
||||||
for i in `ls *.lo` ; \
|
for i in `ls *.lo` ; \
|
||||||
|
|
|
@ -46,7 +46,7 @@ The result of <<ftell>>/<<ftello>> is the current position for a file
|
||||||
identified by <[fp]>. If you record this result, you can later
|
identified by <[fp]>. If you record this result, you can later
|
||||||
use it with <<fseek>>/<<fseeko>> to return the file to this
|
use it with <<fseek>>/<<fseeko>> to return the file to this
|
||||||
position. The difference between <<ftell>> and <<ftello>> is that
|
position. The difference between <<ftell>> and <<ftello>> is that
|
||||||
<<ftell>> returns <<long>> and <<ftello> returns <<off_t>>.
|
<<ftell>> returns <<long>> and <<ftello>> returns <<off_t>>.
|
||||||
|
|
||||||
In the current implementation, <<ftell>>/<<ftello>> simply uses a character
|
In the current implementation, <<ftell>>/<<ftello>> simply uses a character
|
||||||
count to represent the file position; this is the same number that
|
count to represent the file position; this is the same number that
|
||||||
|
|
Loading…
Reference in New Issue