diff options
author | julian <julian@FreeBSD.org> | 1996-01-22 00:02:33 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 1996-01-22 00:02:33 +0000 |
commit | 619b731f5bb5e09dcf1eaf1fbd96383ca64398fd (patch) | |
tree | a89c7f50ec371cef4418259b9dccdd31ebb2f61f /include | |
parent | 663b14fb2f3198fb0bfb62ae16b6b56c2a4dd055 (diff) | |
download | FreeBSD-src-619b731f5bb5e09dcf1eaf1fbd96383ca64398fd.zip FreeBSD-src-619b731f5bb5e09dcf1eaf1fbd96383ca64398fd.tar.gz |
Reviewed by: julian and (hsu?)
Submitted by: John Birrel(L?)
changes for threadsafe operations
Diffstat (limited to 'include')
-rw-r--r-- | include/Makefile | 8 | ||||
-rw-r--r-- | include/time.h | 7 | ||||
-rw-r--r-- | include/unistd.h | 1 |
3 files changed, 12 insertions, 4 deletions
diff --git a/include/Makefile b/include/Makefile index c0ef118..22bbe8a 100644 --- a/include/Makefile +++ b/include/Makefile @@ -1,5 +1,5 @@ # From: @(#)Makefile 8.2 (Berkeley) 1/4/94 -# $Id: Makefile,v 1.30 1995/10/27 06:51:02 julian Exp $ +# $Id: Makefile,v 1.31 1995/11/12 19:29:08 markm Exp $ # # Doing a make install builds /usr/include # @@ -13,10 +13,10 @@ SUBDIR= rpcsvc FILES= a.out.h ar.h assert.h bitstring.h ctype.h db.h dirent.h disktab.h \ err.h f2c.h fnmatch.h fstab.h fts.h glob.h grp.h strhash.h histedit.h \ kvm.h limits.h link.h locale.h malloc.h memory.h mpool.h ndbm.h \ - netdb.h nl_types.h nlist.h paths.h pwd.h ranlib.h regex.h regexp.h \ - resolv.h rune.h runetype.h setjmp.h sgtty.h signal.h \ + netdb.h nl_types.h nlist.h paths.h pthread.h pwd.h ranlib.h regex.h \ + regexp.h resolv.h rune.h runetype.h setjmp.h sgtty.h signal.h \ stab.h stddef.h stdio.h stdlib.h string.h strings.h struct.h \ - sysexits.h tar.h time.h ttyent.h unistd.h utime.h \ + sysexits.h tar.h time.h timers.h ttyent.h unistd.h utime.h \ utmp.h vis.h .if defined(WANT_CSRG_LIBM) FILES+= math.h diff --git a/include/time.h b/include/time.h index 884a2fb..0c119a3 100644 --- a/include/time.h +++ b/include/time.h @@ -100,6 +100,13 @@ time_t mktime __P((struct tm *)); size_t strftime __P((char *, size_t, const char *, const struct tm *)); time_t time __P((time_t *)); +#ifdef _THREAD_SAFE +int asctime_r __P((const struct tm *, char *, int)); +int ctime_r __P((const time_t *, char *, int)); +int gmtime_r __P((const time_t *, struct tm *)); +int localtime_r __P((const time_t *, struct tm *)); +#endif + #ifndef _ANSI_SOURCE void tzset __P((void)); #endif /* not ANSI */ diff --git a/include/unistd.h b/include/unistd.h index eb6d141..050a9cf 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -165,6 +165,7 @@ int swapon __P((const char *)); int symlink __P((const char *, const char *)); void sync __P((void)); int syscall __P((int, ...)); +off_t __syscall __P((quad_t, ...)); int truncate __P((const char *, off_t)); int ttyslot __P((void)); unsigned int ualarm __P((unsigned int, unsigned int)); |