PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
pipe.c
Go to the documentation of this file.
1/*
2# _____ ___ ____ ___ ____
3# ____| | ____| | | |____|
4# | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
5#-----------------------------------------------------------------------
6# Copyright (c) 2003 Marcus R. Brown <mrbrown@0xd6.org>
7# Licenced under Academic Free License version 2.0
8# Review ps2sdk README & LICENSE files for further details.
9*/
10
16#include "types.h"
17#include "defs.h"
18
19#include "sbusintr.h"
20#include "siftoo.h"
21
22int sif2_pipe_create(u32 id, void *buf, u32 size, u32 flags,
23 sif2_pipe_handler_t phandler)
24{
25 (void)id;
26 (void)buf;
27 (void)size;
28 (void)flags;
29 (void)phandler;
30
31 return 0;
32}
33
34int sif2_pipe_open(u32 id)
35{
36 (void)id;
37
38 return 0;
39}
40
41int sif2_pipe_close(int pd)
42{
43 (void)pd;
44
45 return 0;
46}
47
48int sif2_pipe_read(int pd, void *buf, u32 size)
49{
50 (void)pd;
51 (void)buf;
52 (void)size;
53
54 return 0;
55}
56
57int sif2_pipe_write(int pd, void *buf, u32 size)
58{
59 (void)pd;
60 (void)buf;
61 (void)size;
62
63 return 0;
64}