Archive for the ‘System’ Category





Posix Directory Browsing API for Windows

APIs specified in POSIX for browsing through directories are implemneted in windows. This implementation is
a wrapper around windows native calls. Using these POSIX function calls, we can port programs related to directory
browsing and use these calls without learning windows specific calls.
Here are the POSIX APIs which I’ve implemented
opendir
closedir
readdir
rewinddir
seekdir
telldir
scandir
ftw
dirfd
stat
Download
[dirent.h] [dirent.c]

Continue Reading..
Posted in System

Pelt: Posix Wrapper for Windows Threads

Pelt is a POSIX wrapper for windows threads. This package is useful for porting posix applications to windows and in developing portable applications.
Download (source & binaries)
Download R1
Documentation
Snapshots

Release Notes
This release supports
Pthread_*
Pthread_attr_*
Pthread_mutex_*
Pthread_mutexattr_*
Pthread_cond_*
Pthread_condattr_*
Pthread_rwlock_*
Pthread_rwlockattr_*
Sem_*
POSIX calls only.

This library is not yet 100% POSIX compliant and targeting to implement a 100% POSIX compliant wrapper for windows threads which uses windows [...]

Continue Reading..
Posted in Uncategorized