add support for ffs libc function.