freebsd-skq/lib/libutil
Ed Schouten 46b303e83d Add tcsetsid(3).
The entire world seems to use the non-standard TIOCSCTTY ioctl to make a
TTY a controlling terminal of a session. Even though tcsetsid(3) is also
non-standard, I think it's a lot better to use in our own source code,
mainly because it's similar to tcsetpgrp(), tcgetpgrp() and tcgetsid().

I stole the idea from QNX. They do it the other way around; their
TIOCSCTTY is just a wrapper around tcsetsid(). tcsetsid() then calls
into an IPC framework.
2009-05-07 13:49:48 +00:00
..
_secure_path.3
_secure_path.c
auth.3
auth.c
auth.conf.5
expand_number.3
expand_number.c
flopen.3 Reimplement flopen(3) using fcntl(2) locks instead of flock(2) locks. 2008-10-20 18:02:16 +00:00
flopen.c Diff reduction against Varnish, including one important fix: use a shared 2008-10-20 18:11:30 +00:00
fparseln.3
fparseln.c
gr_util.c Fixed style issues with variable ordering and naming, spacing and 2008-11-23 23:26:12 +00:00
hexdump.3
hexdump.c
humanize_number.3
humanize_number.c
kinfo_getfile.3 Add filler man pages for the kinfo functions I added recently. 2008-12-07 03:33:36 +00:00
kinfo_getfile.c Include param.h instead of types.h when using user.h. Otherwise there is 2008-12-27 11:12:23 +00:00
kinfo_getvmmap.3 Add filler man pages for the kinfo functions I added recently. 2008-12-07 03:33:36 +00:00
kinfo_getvmmap.c Include param.h instead of types.h when using user.h. Otherwise there is 2008-12-27 11:12:23 +00:00
kld.3
kld.c
libutil.h Merge user/peter/kinfo branch as of r185547 into head. 2008-12-02 06:50:26 +00:00
login_auth.3
login_auth.c
login_cap.3
login_cap.c Avoid assigning a const char * to a char *. 2008-11-04 13:49:53 +00:00
login_cap.h Since in_lt() and in_lts() are not static, assume that they are intended to 2008-10-20 17:17:58 +00:00
login_class.3 Since setclasscpumask() is not static, assume that it is intended to be 2008-10-20 17:03:05 +00:00
login_class.c Avoid assigning a const char * to a char *. 2008-11-04 13:49:53 +00:00
login_crypt.c
login_ok.3
login_ok.c
login_times.3 Since in_lt() and in_lts() are not static, assume that they are intended to 2008-10-20 17:17:58 +00:00
login_times.c Additional style and whitespace fixes. 2008-10-20 17:09:50 +00:00
login_tty.3
login_tty.c Add tcsetsid(3). 2009-05-07 13:49:48 +00:00
login.3
login.c
login.conf.5 Integrate the new MPSAFE TTY layer to the FreeBSD operating system. 2008-08-20 08:31:58 +00:00
logout.3
logout.c
logwtmp.3
logwtmp.c Use strlcpy() when we mean it. 2008-10-17 21:21:14 +00:00
Makefile Add filler man pages for the kinfo functions I added recently. 2008-12-07 03:33:36 +00:00
pidfile.3 pidfile(3) uses flopen(3) - don't make any assumptions about how the 2008-10-20 18:00:11 +00:00
pidfile.c There is no point in releasing a lock on a file which we've unlinked and 2008-10-20 17:41:08 +00:00
property.3
property.c
pty.3
pty.c Add missing header. 2008-11-04 13:50:50 +00:00
pw_util.c
realhostname_sa.3
realhostname.3
realhostname.c Fixing !INET6 builds. 2008-11-25 02:15:09 +00:00
stub.c
trimdomain.3
trimdomain.c
uucplock.3
uucplock.c