Subversion Repositories Kolibri OS

Rev

Rev 4874 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4874 Rev 4921
Line 17... Line 17...
17
	_vdprintf_r
17
	_vdprintf_r
Line 18... Line 18...
18
 
18
 
19
ANSI_SYNOPSIS
19
ANSI_SYNOPSIS
20
	#include 
20
	#include 
21
	#include 
21
	#include 
22
	int dprintf(int <[fd]>, const char *<[format]>, ...);
22
	int dprintf(int <[fd]>, const char *restrict <[format]>, ...);
-
 
23
	int vdprintf(int <[fd]>, const char *restrict <[format]>,
23
	int vdprintf(int <[fd]>, const char *<[format]>, va_list <[ap]>);
24
			va_list <[ap]>);
24
	int _dprintf_r(struct _reent *<[ptr]>, int <[fd]>,
25
	int _dprintf_r(struct _reent *<[ptr]>, int <[fd]>,
25
			const char *<[format]>, ...);
26
			const char *restrict <[format]>, ...);
26
	int _vdprintf_r(struct _reent *<[ptr]>, int <[fd]>,
27
	int _vdprintf_r(struct _reent *<[ptr]>, int <[fd]>,
Line 27... Line 28...
27
			const char *<[format]>, va_list <[ap]>);
28
			const char *restrict <[format]>, va_list <[ap]>);
28
 
29
 
29
DESCRIPTION
30
DESCRIPTION
30
<> and <> allow printing a format, similarly to
31
<> and <> allow printing a format, similarly to
Line 53... Line 54...
53
 
54
 
54
int
55
int
55
_DEFUN(_dprintf_r, (ptr, fd, format),
56
_DEFUN(_dprintf_r, (ptr, fd, format),
56
       struct _reent *ptr _AND
57
       struct _reent *ptr _AND
57
       int fd _AND
58
       int fd _AND
58
       const char *format _DOTS)
59
       const char *__restrict format _DOTS)
59
{
60
{
60
	va_list ap;
61
	va_list ap;
61
	int n;
62
	int n;
62
	_REENT_SMALL_CHECK_INIT (ptr);
63
	_REENT_SMALL_CHECK_INIT (ptr);
Line 69... Line 70...
69
#ifndef _REENT_ONLY
70
#ifndef _REENT_ONLY
Line 70... Line 71...
70
 
71
 
71
int
72
int
72
_DEFUN(dprintf, (fd, format),
73
_DEFUN(dprintf, (fd, format),
73
       int fd _AND
74
       int fd _AND
74
       const char *format _DOTS)
75
       const char *__restrict format _DOTS)
75
{
76
{
76
  va_list ap;
77
  va_list ap;
77
  int n;
78
  int n;