Implemented posix_getspnam() function

Added posix_getspnam() function to the posix extension.