From: <fl...@us...> - 2012-07-04 11:07:32
|
Revision: 7611 http://mlton.svn.sourceforge.net/mlton/?rev=7611&view=rev Author: fluet Date: 2012-07-04 11:07:23 +0000 (Wed, 04 Jul 2012) Log Message: ----------- Direct implementation of Socket.Ctl.{getATMARK,getNREAD}. The 'ioctl' function is (very) platform dependent. The 'request' parameter may be 'int', 'unsigned int', 'unsigned long', etc., depending upon platform. Implementing Socket.Ctl.{getATMARK,getNREAD} via a direct 'ioctl' call avoids the need to fix a type for the request parameter in order to pass it through the FFI. Modified Paths: -------------- mlton/trunk/basis-library/net/socket.sig mlton/trunk/basis-library/net/socket.sml mlton/trunk/basis-library/primitive/basis-ffi.sml mlton/trunk/runtime/basis/Net/Socket/Socket-consts.c mlton/trunk/runtime/basis/Net/Socket/Socket.c mlton/trunk/runtime/basis-ffi.h mlton/trunk/runtime/gen/basis-ffi.def mlton/trunk/runtime/gen/basis-ffi.h mlton/trunk/runtime/gen/basis-ffi.sml This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ MLton-commit mailing list MLt...@li...; mlt...@ml... https://lists.sourceforge.net/lists/listinfo/mlton-commit |