summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/syscall01/syscall01.scn
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2012-04-03 16:15:34 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2012-04-03 16:21:23 +0200
commit58f665583e8023f1245910e953eafff05121e782 (patch)
treee8dca109f1fe737f098bb1558229c34d678eaee3 /testsuites/libtests/syscall01/syscall01.scn
parentFilesystem: Change type of ioctl_return (diff)
downloadrtems-58f665583e8023f1245910e953eafff05121e782.tar.bz2
networking: socket to/from file descriptor
o Move rtems_bsdnet_fdToSocket() and rtems_bsdnet_makeFdForSocket() to "cpukit/libnetworking/rtems/rtems_syscall.c". o The rtems_bsdnet_makeFdForSocket() function is now static. o Check in rtems_bsdnet_fdToSocket() function that the file descriptor uses the socket handlers, otherwise an error status will be returned and errno set to ENOTSOCK. o New test libtests/syscall01.
Diffstat (limited to 'testsuites/libtests/syscall01/syscall01.scn')
-rw-r--r--testsuites/libtests/syscall01/syscall01.scn2
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuites/libtests/syscall01/syscall01.scn b/testsuites/libtests/syscall01/syscall01.scn
new file mode 100644
index 0000000000..598a0f419a
--- /dev/null
+++ b/testsuites/libtests/syscall01/syscall01.scn
@@ -0,0 +1,2 @@
+*** TEST SYSCALL 1 ***
+*** END OF TEST SYSCALL 1 ***