jtc
c5ff256532
POSIX.2 requires special behavior if the first character of the optstring
...
argument is a colon.
Updated the manpage to reflect the above change, and expanded the example to
the one used by the POSIX.2 rationale, as it more clearly explains how
the new behavior is to be used.
The manpage should be rewritten --- it is much more confusing than it
should be.
1993-10-12 21:52:45 +00:00
cgd
41ec5a7f5c
adding sysarch() man page
1993-10-12 02:16:33 +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
jtc
a3b3dd2348
Install cbrt link to sqrt manpage.
1993-10-11 19:20:24 +00:00
mycroft
cc73d66b19
Clean up deleted files.
1993-10-10 00:32:42 +00:00
mycroft
2f0fca8e20
Clean up deleted files.
1993-10-10 00:18:02 +00:00
mycroft
5074eed1b2
Clean up deleted files.
1993-10-09 23:31:37 +00:00
cgd
b23795cc2b
the two real include files are now in /usr/src/include
1993-10-09 23:31:27 +00:00
cgd
82360f892e
correct directory name in man page
1993-10-09 00:59:10 +00:00
jtc
845bf7e773
Helper function _strerror is in the user's namespace, renamed it to
...
__strerror().
1993-10-09 00:11:01 +00:00
jtc
f2c1ee25de
Added rand48 manual page.
1993-10-09 00:08:02 +00:00
jtc
aed559e85d
Make it possible to use machine dependant versions of div and ldiv functions.
...
Use the new i386 versions of div and ldiv.
1993-10-09 00:03:32 +00:00
jtc
479a1c33c9
Provide i386 versions of div and ldiv -- they are simpler than the C versions,
...
since the idiv instruction does the right thing wrt truncating towards zero.
1993-10-08 23:57:13 +00:00
cgd
8fc014c815
frob things a bit so depend works.
1993-10-08 05:44:32 +00:00
cgd
8a4e4890b1
move include generation and rpc source files intp lib/librpcsvc
1993-10-08 05:26:25 +00:00
mycroft
6a93cfbcbc
Clean up deleted files.
1993-10-08 03:47:32 +00:00
jtc
e09d2f42db
Use "testb %cl,%cl" instead of "cmpb $0,%cl".
...
This saves three cycles per character, and reduces the size of the
function by eight bytes (the loop is unrolled eight times).
Thanks to davidg for pointing this out.
1993-10-08 01:25:51 +00:00
jtc
42cce25b89
Use machine dependant version of labs.[cs] if one is present.
...
If not one of the enumerated list of machines, use the C language
versions of abs, labs, and atof.
1993-10-08 00:08:12 +00:00
jtc
b3f9f8f6f4
Provide an assembly language version of labs().
...
Since ints and longs are both 32 bits on a i386, we could alias abs()
and labs() together as mycroft did with memmove()/memcpy(), but I'm
waiting on an interpretation ruling to see if it is legal.
1993-10-08 00:01:04 +00:00
brezak
933a7b3ad8
Rand48 routines from martin@ntkupc1.tuwien.ac.at (Martin Birgmeier)
1993-10-07 19:53:35 +00:00
mycroft
b50f401d64
Clean up deleted files.
1993-10-07 19:28:50 +00:00
jtc
473c152a0a
Moved strerror.[c3] from libc/stdio to libc/string.
...
Since perror is not permitted to change strerror()'s static buffer, I have
changed both functions to pass their own buffers to the new library-internal
function _strerror() that actually does the error message string look up.
Split strerror manpage into strerror and perror manpages.
1993-10-07 19:27:50 +00:00
cgd
cab8e2bdba
"There will be NO librpc tomorrow!"
1993-10-07 07:39:23 +00:00
mycroft
4d4f745b47
Clean up deleted files.
1993-10-07 07:33:02 +00:00
cgd
63d7b6778b
move the rpc code into libc
1993-10-07 07:29:33 +00:00
cgd
d86859f644
print the warning exactly once per function per program invocation.
1993-10-07 01:43:14 +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
3cdce553b8
Fix typo from last change.
1993-10-05 23:28:09 +00:00
pk
a3d6ce6845
PIC: don't bother.
1993-10-05 21:55:45 +00:00
pk
c8569cefb7
Not worth the trouble to turn this into Position Independent Code.
1993-10-05 21:54:30 +00:00
pk
5258e5ce3d
No PIC, you probably don't want the overhead in these functions.
1993-10-05 21:52:07 +00:00
cgd
757cce049d
make the first param const char *, so it compiles...
1993-10-05 21:06:04 +00:00
jtc
c6edc05829
Assembly language version of the swab function.
...
This version is only slightly faster than the code generated by gcc on
my i486, but it is almost twice as small. My i386 timing chart indicates
that this should be significantly faster than the gcc code on a i386.
Surprisingly, none of the code in the source tree actually use this routine.
But I optimized this routine for some image processing programs I wrote, and
I see no reason why everyone else shouldn't share the (admittedly) modest
benifits.
1993-10-05 18:35:10 +00:00
jtc
20ae84f65b
Add swab.c or swab.s, as appropriate, to each machines source list instead
...
of always using swab.c
1993-10-05 18:30:18 +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
edbd9128da
Changed SYNOPSIS, #include <string.h> before using strerror().
1993-10-05 16:56:45 +00:00
jtc
1658725165
Fix grammar of HISTORY section.
1993-10-05 16:46:09 +00:00
jtc
801bd1aa6a
Changed Synopsis, Buffer is of type "void *", not "char *".
...
The <unistd.h> header was allready correct.
1993-10-05 16:44:33 +00:00
jtc
778779a2cf
Changed SYNOPSIS. Moved function "prototype" for waitpid above #include
...
of <sys/reso
1993-10-05 16:42:40 +00:00
jtc
de34450455
Add #include <utime.h> to SYNOPSIS.
1993-10-05 16:39:28 +00:00
jtc
2faea8001e
Changed SYNOPSIS, include <sys/types.h> too.
1993-10-05 16:38:01 +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
acd1aa18bc
Remove trailing comma from SEE ALSO list.
1993-10-05 16:33:47 +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
75e26868bb
fread and fwrite both return size_t, not int.
1993-10-04 18:50:23 +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