added concrete implementations of putc(), getc(), getchar() and gets()
[tangerine.git] / rom / graphics / unlocklayerrom.c
blobfd7f2c59809b487e8619ec8155080cd6c1323d26
1 /*
2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Graphics function UnlockLayerRom()
6 Lang: english
7 */
8 #include <proto/layers.h>
9 #include <proto/exec.h>
11 /*****************************************************************************
13 NAME */
14 #include <proto/graphics.h>
16 AROS_LH1(void, UnlockLayerRom,
18 /* SYNOPSIS */
19 AROS_LHA(struct Layer *, l, A5),
21 /* LOCATION */
22 struct GfxBase *, GfxBase, 73, Graphics)
24 /* FUNCTION
25 Unlocks a previously locked layer for access by other applications
26 or intuition itself.
27 If a task has locked a layer multiple times it must unlock it
28 as many times as well as locks nest.
29 This functions does the same as layers/UnlockLayerRom()
31 INPUTS
32 l - pointer to layer structure
34 RESULT
36 NOTES
38 EXAMPLE
40 BUGS
41 Does not save all registers.
43 SEE ALSO
44 LockLayerRom() LockLayer() UnLockLayer()
46 INTERNALS
48 HISTORY
50 *****************************************************************************/
52 AROS_LIBFUNC_INIT
54 ReleaseSemaphore(&l->Lock);
56 AROS_LIBFUNC_EXIT
57 } /* UnlockLayerRom */