jtc
a6c78ff19b
Make sure all items in SEE ALSO list are comma separated.
...
Add cross references to isblank().
1993-10-15 00:58:52 +00:00
jtc
981beb6413
Use .Xr for SEE ALSO cross references.
1993-10-15 00:05:44 +00:00
jtc
d20a30ce29
Change SYNOPSIS section to use "unsigned" instead of "u_int".
1993-10-14 23:25:28 +00:00
jtc
af384ef2d9
Remove "errno" definition.
...
Errno should be defined in the c start up code, crt0.c (It is in most
ports) otherwise the sys_errlst table will be linked into binaries
where it is not used.
1993-10-13 23:41:02 +00:00
jtc
e4da5d66a6
Use __dead instead of volatile.
1993-10-13 18:42:31 +00:00
jtc
91ebf777c7
Moved cuserid() from getlogin.c to its own file, cuserid.c.
...
getlogin() and cuserid() do very different things, getlogin() is POSIX,
while cuserid() is not (it was removed in the 1990 revision).
1993-10-11 19:45:52 +00:00
mycroft
a2d8842cae
Clean up deleted files.
1993-10-07 01:37:03 +00:00
cgd
eb29ed3995
always create libcrypt, and link with it where necessary. this will
...
make life with shared libraries happier. also, get dummy crypt out
of libc.
1993-10-07 01:36:21 +00:00
cgd
0b9f50897e
make an arch directory in libc, and move all machine dirs into it
1993-10-07 00:17:24 +00:00
jtc
b23776a8de
Due to an 8-bit attribute table and 9 bits of attributes, I've had to
...
remove the _B attribute from the "horizontal tab" position, and change
the isblank function to explicitly test against space and tab.
When I finish merging the 4.4 runes code, this table will have to grow
to 16 bit entries, as several more attributes have been introduced.
I'm making this change so existing libraries will continue working
for the next (little) while.
1993-10-05 17:05:43 +00:00
jtc
de34450455
Add #include <utime.h> to SYNOPSIS.
1993-10-05 16:39:28 +00:00
jtc
a3dec8ddd3
Changed SYNOPSIS, to use time(), you are supposed to include <time.h>,
...
not <sys/types.h>.
1993-10-05 16:35:19 +00:00
jtc
b12b0398ac
Consistantly cross reference the other functions/programs in the vis/unvis
...
"family".
1993-10-04 22:47:53 +00:00
jtc
0b5def9bc6
Update to reflect the fact that this manpage is used for both getcwd & getwd:
...
Change main title from GETWD to GETCWD as getcwd is the prefered interface.
Add getwd to NAME section so it shows up in whatis database.
1993-10-04 22:39:21 +00:00
jtc
17df67cd68
Install isblank() manpage.
...
Fix title of isblank() manpage (was isspace(), the manpage I started with).
1993-10-04 18:56:51 +00:00
jtc
cc91603650
Changed SYNOPSIS, included <sys/types.h> before <grp.h> as it is needed
...
to define gid_t for getgrgid().
1993-10-04 18:39:24 +00:00
jtc
13a7571fde
Changed SYNOPSIS. <sys/types.h> need never be included as <time.h>
...
defines time_t too.
1993-10-04 18:28:59 +00:00
jtc
9348a457d5
Note that alarm() conforms to 1003.1-90.
1993-10-04 18:25:58 +00:00
jtc
4141da7052
Changed SYNOPSIS. You're supposed to include <time.h>, not <sys/types.h>
...
before using clock().
1993-10-04 18:02:47 +00:00
jtc
bbd73e83d3
Install fts manpage as fts_open, fts_read, fts_children, fts_set and
...
fts_close too.
1993-10-01 01:11:42 +00:00
jtc
791db40a49
Fts may be great, by we can't claim it's a superset of POSIX.1 since
...
fts isn't part of POSIX.1 (or POSIX.2 either).
1993-10-01 00:43:45 +00:00
mycroft
b4e10df1eb
#include <sys/types.h>, for magnum changes.
1993-09-27 02:40:38 +00:00
cgd
c2f1ebaf17
add Nd line, and correct the description of the function.
1993-09-21 01:27:07 +00:00
phil
7ce7cb30df
pc532 specifics.
1993-09-17 19:22:50 +00:00
jtc
186047edaf
Document isblank().
1993-09-14 19:23:27 +00:00
jtc
b82a25338b
Implement C version of isblank.
1993-09-14 01:09:13 +00:00
jtc
a0c1ff159e
Both space and tab are in the blank character class.
1993-09-14 01:08:38 +00:00
jtc
2886fde30d
Elements of sys_signame array should be in upper case.
...
Both kill and sliplogin, which were converted to use this array, are
either specified to use, or have traditionally used, upper case names.
This change shouldn't have bad side-effects, sys_signame is new to netbsd
and nothing in the source tree except kill and sliplogin use it.
1993-09-08 18:43:05 +00:00
mycroft
e27da3f557
Separate the toupper() and tolower() functions so the tables *really* don't get
...
included unless you need them.
1993-09-05 22:29:48 +00:00
brezak
13e51139e4
Add rcsid strings
1993-08-26 15:26:18 +00:00
jtc
9c20f740a3
Declare rcsid strings so they are stored in text segment.
1993-08-26 00:43:03 +00:00
jtc
5e98929cee
Declare static function before it is used.
1993-08-25 22:24:50 +00:00
brezak
979015728c
Add syscall stubs for SYSV Shared Memory.
1993-08-25 02:50:51 +00:00
jtc
19e4e33b98
Don't block SIGINT, SIGQUIT, SIGHUP, etc. in pclose()...
...
"Some historical implementations either block or ignore the signals
SIGINT, SIGQUIT, and SIGHUP while waiting for the child process to
terminate. Since this behavior is not described in POSIX.2, such
implementations are not conforming."
1993-08-23 21:56:31 +00:00
jtc
9d1cf67cd2
Moved toupper and tolower tables from ctype_.c to their own files --- I
...
received complaints about using shorts in the table (but i need a range
of -1..255), so now the tables will not be used unless either toupper()
or tolower() (and soon, setlocale()) are used. This can save up to 514
bytes.
In toupper_.c and tolower_.c make sure that our assumption of EOF == -1
holds.
Fixed bug where _toupper_tab_ was initialized pointing to _C_tolower_tab.
1993-08-23 21:04:50 +00:00
cgd
5def7a5fde
use "_to*_tab_" rather than "_to*_table_" -- table is defined as the former
1993-08-23 16:25:03 +00:00
jtc
c066b5f81e
_ctype_, _tolower_tab_, and _toupper_tab_ are now pointers to the tables.
...
The tables have been renamed to _C_ctype_, _C_tolower_, and _C_toupper_
as they are tables for the C locale. When switching to a new locale, the
pointers will be set to point to tables specific to the new locale.
1993-08-21 00:46:25 +00:00
jtc
ffefbf8e83
If mode is niether 'r' or 'w', set errno to EINVAL as per 1003.2-92.
1993-08-21 00:11:47 +00:00
jtc
7a5661e6ac
Fixed typo. Readdir returns a "struct dirent *", not "struct dirent".
1993-08-20 16:46:14 +00:00
mycroft
36d083669a
Technically, readdir(3) returns a `struct dirent *', not a `struct direct *',
...
not that they aren't the same thing.
1993-08-20 10:03:05 +00:00
jtc
17bda641e5
The result of clock() is measured in CLOCKS_PER_SECs, not CLK_TCKs.
1993-08-17 20:37:57 +00:00
jtc
0de7806863
Add STANDARDS section, utime is now 1003.1 compliant.
1993-08-16 15:42:14 +00:00
jtc
8b17e495f7
Merged in RETURN VALUES and ERRORS sections from utimes(2), since
...
utime(3) is just a wrapper.
1993-08-14 00:05:07 +00:00
jtc
7103ada5b8
If utimbuf pointer is NULL, set access and modification times to the
...
current time.
1993-08-13 23:58:49 +00:00
brezak
d1c89ea35f
Correct copyright statements
1993-08-13 12:54:10 +00:00
brezak
cbeddce7ff
Machine independent version of insque/remque
1993-08-13 02:49:41 +00:00
jtc
ad2e83d160
Oops! I used EOF but didn't include <stdio.h>.
1993-08-09 22:06:30 +00:00
jtc
29b5828742
Use C locale specific traslation tables for toupper and tolower.
...
Direct access to the tables is to be replaced by a pointer to tables for the
current locale.
1993-08-06 23:17:03 +00:00
jtc
d2b805f0e2
Added C locale specific translation tables for toupper and tolower. When
...
locales are fully supported, toupper and tolower will refer to this, or
a locale specific table, through pointers.
1993-08-06 23:14:32 +00:00
jtc
fa5f39ea86
Use const qualifier with _ctype_ table. Smart compilers can then store it
...
in the text segment. When we implement locales, the isctype macros/functions
will reference this table (or a locale specific table) through a pointer, but
for right now, it continues to reference the _ctype_ table directly.
1993-08-06 22:44:44 +00:00
jtc
a35ec39674
Provide function versions of isascii() and toascii().
1993-08-06 21:46:42 +00:00
mycroft
c4c9267c74
Add sys_signame[].
1993-08-06 20:56:34 +00:00
mycroft
9417ee8681
Add getbsize() from Berkeley, somewhat modified.
1993-08-06 17:03:54 +00:00
mycroft
36af9568db
I'm really mad now. Not only did this `new' version have exactly the same
...
bugs as the `old' one, but it was almost identical!
1993-08-03 22:48:35 +00:00
mycroft
aee4b07b8a
Add RCS identifiers, remove some completely useless RCS logs and patchkit
...
headers, and a few other insignificant changes.
1993-08-02 17:48:44 +00:00
mycroft
e9d867ef50
Add RCS identifiers.
1993-08-01 17:54:45 +00:00
mycroft
55b7fa6d0b
Add RCS identifiers.
1993-08-01 07:54:52 +00:00
mycroft
b1bd4afedc
Add RCS indentifiers.
1993-08-01 07:42:49 +00:00
mycroft
dfb9caab49
Add RCS indentifiers.
1993-08-01 07:32:48 +00:00
mycroft
cda4f8f6ee
Add RCS identifiers.
1993-08-01 05:37:30 +00:00
mycroft
0e9c8e4524
Add RCS identifiers.
1993-07-30 08:34:38 +00:00
mycroft
f23f94cb77
Add even more RCS frobs.
1993-07-30 08:21:41 +00:00
mycroft
2e9407c8eb
Remove patchkit lossage, and RCS frob, and make tolower() and toupper() a
...
little faster.
1993-07-30 08:07:44 +00:00
mycroft
adb8dc2533
Add RCS frob.
1993-07-30 07:59:55 +00:00
mycroft
e7ae1531d5
Latest versions from uunet.
1993-07-30 07:57:48 +00:00
glass
ca073b5fd0
adding man pages for termios support functions
1993-07-25 23:05:00 +00:00
glass
20e82d4699
Finally deprecate the old timezone() interface in favor of an XSH5
...
timezone/daytime pair; as proposed by J.T. in September, 1996.
Fixes PR standards/11807 by Nick Hudson.
1993-07-25 23:04:59 +00:00
deraadt
9e0367ab04
fixed a yp-related bug found by Paul Kranenburg <pk@cs.few.eur.nl>:
...
endpwent was free'ing passwd line.
1993-07-24 18:28:32 +00:00
jtc
932d674def
Fix spelling error.
1993-07-20 20:54:41 +00:00
cgd
928342ac2c
(1) compare against UCHAR_MAX, don't use isascii().
...
(2) strvis() didn't work on 0-length input strings
(3) strvisx() didn't work at all
1993-07-15 17:54:43 +00:00
cgd
4cbf5e04e2
update for better FP routines, from AT&T & elsewhere
1993-07-09 09:39:13 +00:00
jtc
7fb7e975c7
Make assert macro ansi complient.
1993-06-16 23:18:35 +00:00
jtc
bceb67fa8d
According to Ansi C, signal is supposed to return SIG_ERR on error,
...
not BADSIG. I know they are the same thing, but this allows me to
remove the otherwised unused, bogus macro BADSIG from signal.h
1993-06-16 22:12:16 +00:00
jtc
dacb3d324d
Update fnmatch() to be more posix complient (from bostic).
1993-06-16 17:16:11 +00:00
mycroft
e3ea23c51a
fgetline() does not return the newline.
1993-06-08 16:49:53 +00:00
proven
890b321c58
Removed bugs and memory leaks from the directory function.
1993-06-04 16:59:18 +00:00
deraadt
9ce2dc36b4
sleep man page fix from <jan@encap.hanse.de>
1993-05-22 00:57:39 +00:00
cgd
44985e0359
get rid of explicit select.h inclusion, and clean headers more
1993-05-20 12:05:02 +00:00
cgd
5cecaec7a1
update to use select.h
1993-05-20 11:26:10 +00:00
cgd
8d5826635d
bring in getcap routines, supplied by CSRG, from 4.4...
1993-05-18 07:37:51 +00:00
deraadt
3cbc24e4f9
I was horrified to find these had not been commited with the YP changes.
1993-05-04 05:10:45 +00:00
mycroft
eca88e272d
Cleanup for GCC 2...
...
s/__dead/volatile/ (Does the format really exist in GCC 1?)
s/va_list/_VA_LIST_/ (to match prototypes)
1993-05-01 15:17:00 +00:00
glass
5fabe9c0b1
new err stuff
1993-04-30 23:08:23 +00:00
glass
5651d3f0ed
improved error handling from ftp.uu.net:bsd-sources
1993-04-27 05:51:11 +00:00
cgd
3509d59e79
make crypt in libc back into a dummy, but a full-featured dummy.
...
to get crypt now, use -lcrypt, or LIBCRYPT as part of LDADD.
1993-04-26 13:02:16 +00:00
proven
38918af207
Opps, dbopen doesn't have an underscore. Fixed.
1993-04-21 04:26:21 +00:00
proven
2d21df758f
Fixed these twon files to use db_open instead of hash_open.
1993-04-21 04:21:06 +00:00
sef
caf88a2f34
Bloody stupid misspelled name caused me grief, so I'm changing it
...
wherever I can. (Function is getgrnam, documentation says getgrnam*e*!)
1993-04-14 21:31:58 +00:00
mycroft
e42ce45b78
Make return status match POSIX and man page.
1993-04-10 00:25:35 +00:00
cgd
649bd7ccc5
added support for using real crypt
1993-03-22 23:27:33 +00:00
cgd
22d5436e4d
added crypt.c and deleted crypt_dummy.c
1993-03-22 23:25:02 +00:00
cgd
e541169ce2
after 0.2.2 "stable" patches applied
1993-03-21 18:04:42 +00:00
cgd
61f282557f
initial import of 386bsd-0.1 sources
1993-03-21 09:45:37 +00:00