Mercurial > sdl-ios-xcode
view docs/man3/SDL_mutexV.3 @ 1018:012af0b7e8e6
Date: Fri, 24 Dec 2004 23:32:06 -0500
From: Mike Frysinger
Subject: [SDL] minor fix for gcc-2.x building
in src/video/directfb/SDL_DirectFB_video.c, some variables are not declared at
the beginning of scope ... newer gcc's will accept this, but gcc-2.x does not
find attached a simple patch by Matt Taylor to resolve this
http://bugs.gentoo.org/show_bug.cgi?id=75392
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 27 Dec 2004 20:03:53 +0000 |
parents | e5bc29de3f0a |
children | 546f7c1eb755 |
line wrap: on
line source
.TH "SDL_mutexV" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" .SH "NAME" SDL_mutexV\- Unlock a mutex .SH "SYNOPSIS" .PP \fB#include "SDL\&.h" #include "SDL_thread\&.h" .sp \fBint \fBSDL_mutexV\fP\fR(\fBSDL_mutex *mutex\fR); .SH "DESCRIPTION" .PP Unlocks the \fBmutex\fR, which was previously created with \fI\fBSDL_CreateMutex\fP\fR\&. Returns \fB0\fR on success, or \fB-1\fR on an error\&. .PP SDL also defines a macro \fB#define SDL_UnlockMutex(m) SDL_mutexV(m)\fP\&. .SH "SEE ALSO" .PP \fI\fBSDL_CreateMutex\fP\fR, \fI\fBSDL_mutexP\fP\fR ...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01