aboutsummaryrefslogtreecommitdiff
path: root/lib/libcompat/4.1
Commit message (Collapse)AuthorAgeFilesLines
* libutil: move ftime to libutilMariusz Zaborski2024-05-292-129/+0
| | | | | | | | | | | | | | | | It seems that there are still some applications that use ftime(3) (for example, science/siconos and sysutils/lcdproc). The issue is that we don't build libcompat as a shared library anymore. The easiest solution is to move it to libutil, until we deprecate it for good. This solution was proposed by kib@ in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257789. PR: 257789 MFC after: 1 month Reviewed by: kib (ages ago) Differential Revision: https://reviews.freebsd.org/D39994
* lib: Automated cleanup of cdefs and other formattingWarner Losh2023-11-271-1/+0
| | | | | | | | | | | | | | | | Apply the following automated changes to try to eliminate no-longer-needed sys/cdefs.h includes as well as now-empty blank lines in a row. Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/ Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/ Remove /\n+#if.*\n#endif.*\n+/ Remove /^#if.*\n#endif.*\n/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/ Sponsored by: Netflix
* lib: Remove ancient SCCS tags.Warner Losh2023-11-271-2/+0
| | | | | | | | Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a perl script. Sponsored by: Netflix
* Remove $FreeBSD$: one-line nroff patternWarner Losh2023-08-161-1/+0
| | | | Remove /^\.\\"\s*\$FreeBSD\$$\n/
* Remove $FreeBSD$: one-line .c patternWarner Losh2023-08-161-2/+0
| | | | Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
* ftime appeared in 7th Edition Unix to replace gtime.Warner Losh2018-10-281-5/+4
| | | | | | | Note that the timezone and dst entries are always returned as 0. Notes: svn path=/head/; revision=339832
* Use __SCSSID() for SCCS IDs.John Baldwin2018-06-101-3/+2
| | | | | | | | While here, fix $FreeBSD$ ID in ftime.c to use __FBSDID instead of a static array. Notes: svn path=/head/; revision=334911
* lib: further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-261-1/+3
| | | | | | | | | | | | | | | Mainly focus on files that use BSD 2-Clause license, however the tool I was using mis-identified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Notes: svn path=/head/; revision=326219
* Renumber copyright clause 4Warner Losh2017-02-281-1/+1
| | | | | | | | | | | | Renumber cluase 4 to 3, per what everybody else did when BSD granted them permission to remove clause 3. My insistance on keeping the same numbering for legal reasons is too pedantic, so give up on that point. Submitted by: Jan Schaumann <jschauma@stevens.edu> Pull Request: https://github.com/freebsd/freebsd/pull/96 Notes: svn path=/head/; revision=314436
* Small style(9) fix: use tabs instead of spaces.Ed Schouten2010-08-081-8/+8
| | | | Notes: svn path=/head/; revision=211061
* Remove unneeded functions from libcompat.Ed Schouten2010-08-065-339/+0
| | | | | | | | | Erwin fired up a ports build a couple of weeks ago and it seems the following functions are not used by any of the 20k ports we have, which makes me believe they don't have any purpose. Just remove them. Notes: svn path=/head/; revision=210958
* mdoc: order prologue macros consistently by Dd/Dt/OsUlrich Spörlein2010-04-141-1/+1
| | | | | | | | | | | Although groff_mdoc(7) gives another impression, this is the ordering most widely used and also required by mdocml/mandoc. Reviewed by: ru Approved by: philip, ed (mentors) Notes: svn path=/head/; revision=206622
* Small style(9) cleanups.Ed Schouten2010-03-134-10/+12
| | | | Notes: svn path=/head/; revision=205125
* Turn sgtty into a binary-only compatibility interface.Ed Schouten2008-06-143-198/+0
| | | | | | | | | | | | | | | | | | | sgtty was the original interface to configure terminal attributes on my UNIX-like operating systems. It has been deprecated by the POSIX termios interface, which is implemented in almost any modern system. An advantage of turning this into a binary compatibility interface, is that we can now eventually remove the COMPAT_43TTY switch from kernel configurations. This removes many ioctl()'s from the TTY layer. While there, increase the __FreeBSD_version, which may be useful for the people working on the Ports tree. Reviewed by: kib Approved by: philip (mentor) Notes: svn path=/head/; revision=179784
* Remove California Regent's clause 3, per letterWarner Losh2007-01-093-12/+0
| | | | Notes: svn path=/head/; revision=165906
* Expand contractions.Ruslan Ermilov2005-02-131-1/+1
| | | | Notes: svn path=/head/; revision=141851
* mdoc(7): Use the new feature of the .In macro.Ruslan Ermilov2003-09-081-1/+1
| | | | Notes: svn path=/head/; revision=119893
* The .Fn functionPhilippe Charnier2003-03-241-5/+7
| | | | Notes: svn path=/head/; revision=112541
* Assume __STDC__, remove non-__STDC__ code.Alfred Perlstein2002-05-283-20/+0
| | | | | | | Submitted by: keramida Notes: svn path=/head/; revision=97407
* mdoc(7) police: fixed the whatis entry.Ruslan Ermilov2002-05-181-1/+1
| | | | Notes: svn path=/head/; revision=96862
* mdoc(7) police: Use the new .In macro for #include statements.Ruslan Ermilov2001-10-014-5/+5
| | | | Notes: svn path=/head/; revision=84306
* mdoc(7) police: expand plain text xrefs.Ruslan Ermilov2001-08-083-3/+8
| | | | Notes: svn path=/head/; revision=81285
* Remove whitespace at EOL.Dima Dorfman2001-07-154-12/+12
| | | | Notes: svn path=/head/; revision=79754
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-102-2/+2
| | | | Notes: svn path=/head/; revision=79531
* Prepare for mdoc(7)NG.Ruslan Ermilov2000-12-292-6/+4
| | | | Notes: svn path=/head/; revision=70481
* Remove text saying "this is available from the compatibility library,Ben Smithurst2000-11-214-5/+8
| | | | | | | | | | | | libcompat" in favour of a .Sh LIBRARY section using the .Lb macro. Also add .Bf -symbolic around the text saying "this is obsolete" in re_comp.3. PR: 22675 Submitted by: Mike Meyer <mwm@mired.org> Reviewed by: sheldonh Notes: svn path=/head/; revision=68994
* mdoc(7) police: Nm -> Fn where appropriate.Ruslan Ermilov2000-11-201-7/+12
| | | | Notes: svn path=/head/; revision=68946
* Remove fullstops from the end of .Xr lines in SEE ALSO section.Ben Smithurst2000-11-151-1/+1
| | | | Notes: svn path=/head/; revision=68751
* Avoid use of direct troff requests in mdoc(7) manual pages.Ruslan Ermilov2000-11-102-2/+0
| | | | Notes: svn path=/head/; revision=68575
* Remove single-space hard sentence breaks. These degrade the qualitySheldon Hearn2000-03-021-1/+2
| | | | | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc. Notes: svn path=/head/; revision=57686
* Removed vlimit.3 and vtimes.3. Removed vlimit.c and vtimes.c fromBruce Evans1999-12-222-270/+0
| | | | | | | | | | the "MISSING" list. These were old variants of get/setrlimit() and getrusage(), respectively, and were never implemented in FreeBSD. vlimit.3 referred to <sys/vlimit.h> which was removed recently. vtimes.3 referred to <sys/vtimes.h> which never existed in FreeBSD. Notes: svn path=/head/; revision=54998
* $Id$ -> $FreeBSD$Peter Wemm1999-08-2812-12/+12
| | | | Notes: svn path=/head/; revision=50476
* Add $Id$, to make it simpler for members of the translation teams toNik Clayton1999-07-125-0/+5
| | | | | | | | | | | | | | | | | | | | track. The $Id$ line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde Notes: svn path=/head/; revision=48794
* Fixed #include and/or prototype bugs in synopsis.Bruce Evans1997-04-191-1/+3
| | | | Notes: svn path=/head/; revision=25028
* FIxed arg types (mostly missing consts) in synopsis.Bruce Evans1997-03-191-3/+3
| | | | Notes: svn path=/head/; revision=24009
* Fixed missing function types in synopsis.Bruce Evans1997-03-191-0/+2
| | | | Notes: svn path=/head/; revision=24006
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-227-7/+7
| | | | Notes: svn path=/head/; revision=22993
* Sort cross references.Wolfram Schneider1997-01-202-3/+3
| | | | Notes: svn path=/head/; revision=21907
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-147-7/+7
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* General -Wall warning cleanup, part I.Jordan K. Hubbard1996-07-122-2/+3
| | | | | | | Submitted-By: Kent Vander Velden <graphix@iastate.edu> Notes: svn path=/head/; revision=17141
* Correct some man page cross references and file location references.Mike Pritchard1996-04-071-1/+1
| | | | Notes: svn path=/head/; revision=15082
* Correct a bunch of man page cross references and generallyMike Pritchard1996-02-112-3/+3
| | | | | | | | | try and silence "manck". ncurses, rpc, and some of the gnu stuff are still a big mess, however. Notes: svn path=/head/; revision=14038
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-4/+4
| | | | Notes: svn path=/head/; revision=8870
* My libcompat cleanup.Joerg Wunsch1995-04-109-2/+282
| | | | | | | | | | | | | | | | | | o add missing man pages o make all man pages clearly refer to the libcompat thingie o add the information to the vtimes(3) and vlimit(3) man pages that nobody has reimplemented the functions by now o add the missing getpw.c o add code and man pages for cftime(3) and ascftime(3) -- i found them somewhere in old unfinished work Notes: svn path=/head/; revision=7742
* This is Christopher G. Demetriou of NetBSD versions of ftime.c, gtty.c, andRodney W. Grimes1994-05-273-0/+151
| | | | | | | stty.c. Notes: svn path=/vendor/NetBSD/dist/; revision=1581
* BSD 4.4 Lite Lib SourcesRodney W. Grimes1994-05-275-0/+519
Notes: svn path=/cvs2svn/branches/unlabeled-1.1.1/; revision=1573