# File lib/rb-kqueue/native/flags.rb, line 83
      def self.from_mask(prefix, mask)
        re = /^#{Regexp.quote prefix}_/
        constants.select do |sym|
          c = sym.to_s
          next false unless c =~ re
          const_get(c) & mask != 0
        end.map {|c| c.to_s.sub("#{prefix}_", "").downcase.to_sym}
      end