aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/sys/semctl.2
Commit message (Collapse)AuthorAgeFilesLines
* libsys: relocate implementations and manpagesBrooks Davis2024-02-051-200/+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
* Remove $FreeBSD$: two-line nroff patternWarner Losh2023-08-161-2/+0
| | | | Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/
* Apply the logic from r363051 to semctl(2) and __sem_base field.Mark Johnston2020-07-091-2/+1
| | | | | | | | | | Reported by: Jeffball <jeffball@grimm-co.com> MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D25600 Notes: svn path=/head/; revision=363055
* Don't declare union semun in userspace unless _WANT_SEMUN is defined.Brooks Davis2018-03-021-5/+8
| | | | | | | | | | | | | | | | | | | POSIX explicitly states that the application must declare union semun. This makes no sense, but it is what it is. This brings us into line with Linux, MacOS/Darwin, and NetBSD. In a ports exp-run a moderate number of ports fail due to a lack of approprate autotools-like discovery mechanisms or local patches. A commit to address them will follow shortly. PR: 224300, 224443 (exp-run) Reviewed by: emaste, jhb, kib Exp-run by: antoine Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D14492 Notes: svn path=/head/; revision=330299
* Rename kernel-only members of semid_ds and msgid_ds.Brooks Davis2018-03-021-1/+1
| | | | | | | | | | | | | | | | | | This deliberately breaks the API in preperation for future syscall revisions which will remove these nonstandard members. In an exp-run a single port (devel/qemu-user-static) was found to use them which it did becuase it emulates system calls. This has been fixed in the ports tree. PR: 224443 (exp-run) Reviewed by: kib, jhb (previous version) Exp-run by: antoine Sponsored by: DARPA, AFRP Differential Revision: https://reviews.freebsd.org/D14490 Notes: svn path=/head/; revision=330297
* Make the structure definitions in the man pages match the real code, andKonstantin Belousov2009-06-291-3/+0
| | | | | | | | | remove no longer valid caution. Approved by: re (kensmith) Notes: svn path=/head/; revision=195172
* Eliminate macro calls inside literal displays.Ruslan Ermilov2005-01-151-2/+2
| | | | Notes: svn path=/head/; revision=140295
* Mechanically kill hard sentence breaks.Ruslan Ermilov2004-07-021-1/+2
| | | | Notes: svn path=/head/; revision=131504
* mdoc(7) police: "The .Fa argument.".Ruslan Ermilov2002-12-191-2/+4
| | | | Notes: svn path=/head/; revision=108087
* mdoc(7) police: Tidy up the syscall language.Ruslan Ermilov2002-12-181-2/+6
| | | | | | | | | | | | | 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
* Add GETPID to the list of operations for which semctl(2) returns the value.Maxim Konovalov2002-03-061-1/+1
| | | | | | | | | Reviewed by: alfred, ru Approved by: ru MFC after: 3 days Notes: svn path=/head/; revision=91748
* Fix SysV Semaphore Handling.Michael Reifenberger2001-10-111-1/+17
| | | | | | | | | | | Updated by peter following KSE and Giant pushdown. I've running with this patch for two week with no ill side effects. PR: kern/12014: Fix SysV Semaphore handling Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au> Notes: svn path=/head/; revision=84789
* mdoc(7) police: Use the new .In macro for #include statements.Ruslan Ermilov2001-10-011-3/+3
| | | | Notes: svn path=/head/; revision=84306
* Remove whitespace at EOL.Dima Dorfman2001-07-151-1/+1
| | | | Notes: svn path=/head/; revision=79754
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79531
* Prepare for mdoc(7)NG.Ruslan Ermilov2000-12-291-0/+1
| | | | Notes: svn path=/head/; revision=70481
* Introduce ".Lb" macro to libc manpages.Alexey Zelkin2000-04-211-0/+2
| | | | | | | More libraries manpages updates following. Notes: svn path=/head/; revision=59460
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50476
* Use ellipsis in synopsis.Joseph Koshy1998-09-121-2/+6
| | | | | | | Requested by: bde Notes: svn path=/head/; revision=39086
* Removed unnecessary quoting of function names in synopsis to simplifyBruce Evans1997-03-181-2/+2
| | | | | | | automated checking of synopses. Notes: svn path=/head/; revision=24003
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
| | | | Notes: svn path=/head/; revision=22993
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-1/+1
| | | | | | | | | | | 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
* Back out change. The last argument to semctl() IS union semunSteven Wallace1996-12-181-1/+1
| | | | | | | | for the C library call, which is a wrapper that passes it by reference to the kernel. Notes: svn path=/head/; revision=20626
* Last argument to semctl() is union semun *, not union semun.Jordan K. Hubbard1996-12-171-2/+2
| | | | | | | | Pointed-Out-By: swallace Person-With-Commit-Privs-By-Whom-It-Should-Have-Been-Committed: swallace Notes: svn path=/head/; revision=20611
* Fix even more spelling errors in some more man pages.Mike Pritchard1996-01-301-3/+3
| | | | Notes: svn path=/head/; revision=13750
* Add man pages for the SYSV shm* and sem* functions.Joerg Wunsch1995-10-031-0/+173
This partially closes PR # docs/177. This should probably also go into 2.1. Submitted by: daveho@infocom.com (David Hovemeyer) Notes: svn path=/head/; revision=11151