diff options
author | joerg <joerg@FreeBSD.org> | 2001-06-29 15:30:48 +0000 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 2001-06-29 15:30:48 +0000 |
commit | b983bae23bf7341b9bf5daaef53789d401773b79 (patch) | |
tree | bd9f725239a2d1c94b502f3feb801f6686e129eb /lib/libpthread/thread/thr_sig.c | |
parent | ed192fbfa107263cdfe510275dfa2294a87a1c62 (diff) | |
download | FreeBSD-src-b983bae23bf7341b9bf5daaef53789d401773b79.zip FreeBSD-src-b983bae23bf7341b9bf5daaef53789d401773b79.tar.gz |
Use the new-born BIO_CMD1 instead of fudging a bio_flag value for reading
the sector ID.
Based on numerous comments made by Bruce, rewrite a good part of the
old fdformat() function, and merge it with fdreadid() into a single
unified fdmisccmd() function. Various style and a couple of more
serious bugs fixed there.
While i was at it, i also fixed the long-standing "TODO: don't
allocate buffer on stack." in fdcioctl(), fixed a number of style bugs
there, and finally implemented the FD_DEBUG ioctl command that has
been advertised in <sys/fdcio.h> (formerly <machine/ioctl_fd.h>) for
almost seven years now. ;-)
Submitted by: bde (a lot of fixes for fdformat())
Diffstat (limited to 'lib/libpthread/thread/thr_sig.c')
0 files changed, 0 insertions, 0 deletions