unix.c
author Ryan C. Gordon <icculus@icculus.org>
Fri, 06 Jul 2001 01:27:14 +0000
changeset 7 07d5e6e8259d
parent 4 b8107374195a
child 10 45bd486c0224
permissions -rw-r--r--
More work. Getting better.

/*
 * Unix support routines for PhysicsFS.
 *
 * Please see the file LICENSE in the source's root directory.
 *
 *  This file written by Ryan C. Gordon.
 */

#include <stdio.h>
#include <stdlib.h>
#include <pthread.h>

const char *__PHYSFS_PlatformDirSeparator = "/";

char **__PHYSFS_platformDetectAvailableCDs(void)
{
} /* __PHYSFS_detectAvailableCDs */


char *__PHYSFS_platformCalcBaseDir(char *argv0)
{
    return(NULL);
} /* __PHYSFS_platformCalcBaseDir */


int __PHYSFS_platformGetThreadID(void)
{
    return((int) pthread_self());
} /* __PHYSFS_platformGetThreadID */

/* end of unix.c ... */