00001 /* -*- C++ -*- */ 00002 // $Id: Flag_Manip.i,v 1.1.1.1 2001/12/04 14:33:01 chad Exp $ 00003 00004 // Return flags currently associated with handle. 00005 00006 ASYS_INLINE int 00007 ACE_Flag_Manip::get_flags (ACE_HANDLE handle) 00008 { 00009 ACE_TRACE ("ACE_Flag_Manip::get_flags"); 00010 00011 #if defined (ACE_LACKS_FCNTL) 00012 // ACE_OS::fcntl is not supported, e.g., on VxWorks. It 00013 // would be better to store ACE's notion of the flags 00014 // associated with the handle, but this works for now. 00015 ACE_UNUSED_ARG (handle); 00016 return 0; 00017 #else 00018 return ACE_OS::fcntl (handle, F_GETFL, 0); 00019 #endif /* ACE_LACKS_FCNTL */ 00020 }
1.2.14 written by Dimitri van Heesch,
© 1997-2002