Added the prototypes for the POSIX and WIN32 methods and designed the methods that are cross compatible
utility stuff