aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/sys/getlogin.2
Commit message (Collapse)AuthorAgeFilesLines
* libsys: relocate implementations and manpagesBrooks Davis2024-02-051-201/+0
| | | | | | | | | Remove core system call implementations and documentation to lib/libsys and lib/libsys/<arch> from lib/libc/sys and lib/libc/<arch>/<sys>. Update paths to allow libc to find them in their new home. Reviewed by: kib, emaste, imp Pull Request: https://github.com/freebsd/freebsd-src/pull/908
* 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/
* getlogin_r: fix the type of lenKyle Evans2020-09-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | getlogin_r is specified by POSIX to to take a size_t len, not int. Fix our version to do the same, bump the symbol version due to ABI change and provide compat. This was reported to break compilation of Ruby 2.8. Some discussion about the necessity of the ABI compat did take place in the review. While many 64-bit platforms would likely be passing it in a 64-bit register and zero-extended and thus, not notice ABI breakage, some do sign-extend (e.g. mips). PR: 247102 Submitted by: Bertram Scharpf <software@bertram-scharpf.de> (original) Submitted by: cem (ABI compat) MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D26335 Notes: svn path=/head/; revision=365506
* MAXLOGNAME changed to 33 in r243023.Ruslan Bukin2018-08-031-1/+1
| | | | | | | | | Update man pages. Sponsored by: DARPA, AFRL Notes: svn path=/head/; revision=337264
* 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
* Per Regents of the University of Calfornia letter, remove advertisingWarner Losh2007-01-091-4/+0
| | | | | | | | | clause. # If I've done so improperly on a file, please let me know. Notes: svn path=/head/; revision=165903
* Sort sections.Ruslan Ermilov2005-01-201-19/+19
| | | | Notes: svn path=/head/; revision=140505
* Mechanically kill hard sentence breaks.Ruslan Ermilov2004-07-021-2/+4
| | | | Notes: svn path=/head/; revision=131504
* mdoc(7): Use the new feature of the .In macro.Ruslan Ermilov2003-09-081-1/+1
| | | | Notes: svn path=/head/; revision=119893
* mdoc(7) police: "The .Fa argument.".Ruslan Ermilov2002-12-191-3/+3
| | | | Notes: svn path=/head/; revision=108087
* mdoc(7) police: Tidy up the syscall language.Ruslan Ermilov2002-12-181-5/+15
| | | | | | | | | | | | | Stop calling system calls "function calls". Use "The .Fn system call" a-la "The .Nm utility". When referring to a non-BSD implementation in the HISTORY section, call syscall a function, to be safe. Notes: svn path=/head/; revision=108028
* Typo fix: Setlogin() -> setlogin().Maxime Henrion2002-07-081-1/+1
| | | | | | | Submitted by: Olivier Houchard <cognet@ci0.org> Notes: svn path=/head/; revision=99605
* mdoc(7) police: Use the new .In macro for #include statements.Ruslan Ermilov2001-10-011-2/+2
| | | | Notes: svn path=/head/; revision=84306
* Use ``.Rv -std'' wherever possible.Ruslan Ermilov2001-08-311-7/+1
| | | | | | | Submitted by: yar Notes: svn path=/head/; revision=82642
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79531
* /^\.St/ s/-iso9945-1/-p1003.1-96/Ruslan Ermilov2001-02-261-2/+2
| | | | Notes: svn path=/head/; revision=73092
* mdoc(7) police: split punctuation characters + misc fixes.Ruslan Ermilov2001-02-011-4/+4
| | | | Notes: svn path=/head/; revision=71895
* mdoc(7) police: fixed (minor) mdoc bugs introduced in previous revision.Ruslan Ermilov2001-01-101-2/+3
| | | | Notes: svn path=/head/; revision=70874
* Change the interface of getlogin_r to return an int. The formerDaniel Eischen2001-01-011-5/+18
| | | | | | | | | | | | | interface was based on a draft version of POSIX whereas the final (1996) version of POSIX specified that the error is returned. While I'm here, fix getlogin_r so that it works for more than just the first time it's called. Reviewed by: wes, wollman (man page) Notes: svn path=/head/; revision=70557
* Introduce ".Lb" macro to libc manpages.Alexey Zelkin2000-04-211-0/+2
| | | | | | | More libraries manpages updates following. Notes: svn path=/head/; revision=59460
* Document the getlogin_r function.Wes Peters1999-11-281-2/+22
| | | | Notes: svn path=/head/; revision=53860
* Some style and "look" fixesAlexey Zelkin1999-09-051-1/+1
| | | | | | | Reviewed by: mpp Notes: svn path=/head/; revision=50947
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50476
* Add $Id$, to make it simpler for members of the translation teams toNik Clayton1999-07-121-0/+1
| | | | | | | | | | | | | | | | | | | | 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
* Removed superfluous quoting of function args.Bruce Evans1997-09-071-2/+2
| | | | Notes: svn path=/head/; revision=29177
* Reference the correct version of BSD at the bottom of theSteve Price1997-08-231-1/+1
| | | | | | | | | manpage. PR: docs/3735 Notes: svn path=/head/; revision=28630
* `it's'' -> `its'' where appropriate and typo fixes in time2posix.3.Eivind Eklund1997-05-191-1/+1
| | | | | | | | | Closes PR docs/3612. Submitted by: Josh Gilliam <soil@quick.net> Notes: svn path=/head/; revision=25932
* Remove words about lower limit needed (from BUGS section), we haveAndrey A. Chernov1997-03-031-7/+0
| | | | | | | precise limit now Notes: svn path=/head/; revision=23360
* Use stricter MAXLOGNAME nowAndrey A. Chernov1997-03-031-1/+1
| | | | Notes: svn path=/head/; revision=23329
* Reflect current MAXLONGNAME value and specify that null includedAndrey A. Chernov1997-03-031-1/+1
| | | | Notes: svn path=/head/; revision=23323
* MAXLOGNAME currently 16, not 12Andrey A. Chernov1997-03-021-1/+1
| | | | Notes: svn path=/head/; revision=23302
* Correctly use .Fn instead of .Nm to reference function namesMike Pritchard1996-08-221-1/+2
| | | | | | | | | | | in a bunch of man pages. Use the correct .Bx (BSD UNIX) or .At (AT&T UNIX) macros instead of explicitly specifying the version in the text in a bunch of man pages. Notes: svn path=/head/; revision=17782
* Add a dire warning about misusing the setlogin() system call. Be veryPeter Wemm1996-02-231-1/+46
| | | | | | | | | | explicit that it is global to the entire "session", and that setsid() or daemon() are need to have been called at some point. The most notable offender of setlogin() misuse is XFree86's xdm. Notes: svn path=/head/; revision=14201
* BSD 4.4 Lite Lib SourcesRodney W. Grimes1994-05-271-0/+126
Notes: svn path=/cvs2svn/branches/unlabeled-1.1.1/; revision=1573