repo.or.cz
/
tangerine.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
New bitmap method SetRGBConversionFunction which can be used to
[tangerine.git]
/
workbench
/
c
/
QuitAROS.c
blob
9297737cf276be198362ea1ebd1ec4fa6ff8b961
1
#include <proto/exec.h>
2
3
int
main
(
void
)
4
{
5
struct
MsgPort
*
port
;
6
7
Forbid
();
8
if
((
port
=
FindPort
(
"AROS Hosted Power Switch"
)))
9
{
10
Signal
((
struct
Task
*)
port
->
mp_SigTask
,
1L
<<
port
->
mp_SigBit
);
11
}
12
Permit
();
13
14
return
0
;
15
}