Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
e6cc3b80
Commit
e6cc3b80
authored
Jun 29, 1998
by
Ulrich Drepper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(__PMT): New macro. Defined like __P.
Use is for function pointers. From-SVN: r20791
parent
a611ae14
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
libio/libio.h
+7
-5
No files found.
libio/libio.h
View file @
e6cc3b80
/* Copyright (C) 1991, 92, 93, 94, 95, 97 Free Software Foundation, Inc.
/* Copyright (C) 1991, 92, 93, 94, 95, 97
, 98
Free Software Foundation, Inc.
This file is part of the GNU IO Library.
Written by Per Bothner <bothner@cygnus.com>.
...
...
@@ -60,8 +60,10 @@
# else
# ifdef __STDC__
# define __P(p) p
# define __PMT(p) p
# else
# define __P(p) ()
# define __PMT(p) ()
# endif
# endif
#endif
/*!__P*/
...
...
@@ -267,10 +269,10 @@ extern struct _IO_FILE_plus _IO_stdin_, _IO_stdout_, _IO_stderr_;
/* Define the user-visible type, with user-friendly member names. */
typedef
struct
{
_IO_ssize_t
(
*
read
)
__P
((
struct
_IO_FILE
*
,
void
*
,
_IO_ssize_t
));
_IO_ssize_t
(
*
write
)
__P
((
struct
_IO_FILE
*
,
const
void
*
,
_IO_ssize_t
));
_IO_fpos_t
(
*
seek
)
__P
((
struct
_IO_FILE
*
,
_IO_off_t
,
int
));
int
(
*
close
)
__P
((
struct
_IO_FILE
*
));
_IO_ssize_t
(
*
read
)
__P
MT
((
struct
_IO_FILE
*
,
void
*
,
_IO_ssize_t
));
_IO_ssize_t
(
*
write
)
__P
MT
((
struct
_IO_FILE
*
,
const
void
*
,
_IO_ssize_t
));
_IO_fpos_t
(
*
seek
)
__P
MT
((
struct
_IO_FILE
*
,
_IO_off_t
,
int
));
int
(
*
close
)
__P
MT
((
struct
_IO_FILE
*
));
}
_IO_cookie_io_functions_t
;
/* Special file type for fopencookie function. */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment