summaryrefslogtreecommitdiffstats
path: root/include/unistd.h
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2010-01-14 05:35:32 +0000
committered <ed@FreeBSD.org>2010-01-14 05:35:32 +0000
commitc47f4ccef36eabbc9ea7c65e2a8e9b2e9814d08a (patch)
treecca50b6992f3e458c9b643cfea07b527623e9879 /include/unistd.h
parent47afb8a1a7c815fd4e3f38832563ee8e7bae7e89 (diff)
downloadFreeBSD-src-c47f4ccef36eabbc9ea7c65e2a8e9b2e9814d08a.zip
FreeBSD-src-c47f4ccef36eabbc9ea7c65e2a8e9b2e9814d08a.tar.gz
Phase out ttyslot(3).
The ttyslot() function was originally part for SUSv1, marked LEGACY in SUSv2 and removed later on. This function only makes sense when using utmp(5), because it was used to determine the offset of the record for the controlling TTY. It makes little sense to keep it here, because the new utmpx file format doesn't index based on TTY slots.
Diffstat (limited to 'include/unistd.h')
-rw-r--r--include/unistd.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/unistd.h b/include/unistd.h
index b4b7516..5ac7971 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -574,7 +574,6 @@ int swapon(const char *);
int swapoff(const char *);
int syscall(int, ...);
off_t __syscall(quad_t, ...);
-int ttyslot(void);
int undelete(const char *);
int unwhiteout(const char *);
void *valloc(size_t); /* obsoleted by malloc() */
OpenPOWER on IntegriCloud