FreeBSD Bugzilla – Attachment 143693 Details for
Bug 190942
aio_{cancel,error,return,suspend,waitcomplete} don't mention ENOSYS in the ERRORS section
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
non-ATF ENOSYS testcase
test_aio_syscalls_with_EIO.c (text/plain), 610 bytes, created by
Enji Cooper
on 2014-06-11 21:15:16 UTC
(
hide
)
Description:
non-ATF ENOSYS testcase
Filename:
MIME Type:
Creator:
Enji Cooper
Created:
2014-06-11 21:15:16 UTC
Size:
610 bytes
patch
obsolete
>#include <aio.h> >#include <assert.h> >#include <errno.h> >#include <stdlib.h> > >int >main(void) >{ > struct timespec timeout; > struct aiocb cb, *cbp; > > cbp = &cb; > > assert(system("kldstat -v | grep aio") != 0); > > assert(aio_cancel(1, &cb) == -1 && errno == ENOSYS); > assert(aio_error(&cb) == -1 && errno == ENOSYS); > assert(aio_read(&cb) == -1 && errno == ENOSYS); > assert(aio_return(&cb) == -1 && errno == ENOSYS); > assert(aio_suspend(NULL, 1, &timeout) == -1 && errno == ENOSYS); > assert(aio_write(&cb) == -1 && errno == ENOSYS); > assert(aio_waitcomplete(&cbp, &timeout) == -1 && errno == ENOSYS); > > return (0); >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 190942
:
143692
| 143693 |
258143