source: trunk/kLdr/kLdrHlp-os2.c@ 2826

Last change on this file since 2826 was 2826, checked in by bird, 19 years ago

keyword expansion: Id

  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1/* $Id: kLdrHlp-os2.c 2826 2006-10-22 15:58:55Z bird $ */
2/** @file
3 *
4 * kLdr - The Dynamic Loader, Helper Functions for OS/2.
5 *
6 * Copyright (c) 2006 knut st. osmundsen <bird@anduin.net>
7 *
8 *
9 * This file is part of kLdr.
10 *
11 * kLdr is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation; either version 2 of the License, or
14 * (at your option) any later version.
15 *
16 * kLdr is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public License
22 * along with kLdr; if not, write to the Free Software
23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
24 *
25 */
26
27#include "kLdrHlp.h"
28#include <os2emx.h>
29
30
31/*******************************************************************************
32* Global Variables *
33*******************************************************************************/
34
35int kldrSemInit(void)
36{
37 return 0;
38}
39
40int kldrSemTerm(void);
41int kldrSemRequest(void);
42int kldrSemRelease(void);
43
44int kldrFileOpen(const char *pszFilename, PKLDRFILE pFile);
45int kldrFileClose(KLDRFILE File);
46int kldrFileRead(KLDRFILE File, off_t off, void *pv, size_t cb);
47
48int kldrGetEnv(const char *pszVar, char *pszVar, size_t *pcchVar)
49
50void *kldrAlloc(size_t cb);
51void kldrFree(void *pv);
52
53int kldrPrivateAlloc(void *pv, size_t cb, unsigned fFlags, void **ppv);
54int kldrPrivateFree(void *pv, size_t cb);
55int kldrSharedAlloc(void *pv, size_t cb, unsigned fFlags, const char *pszFilename, KLDRFILE File, void **ppv);
56int kldrSharedFree(void *pv, size_t cb);
57
Note: See TracBrowser for help on using the repository browser.