Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
d8b36a08
...
d8b36a08ab232124bfebf74eca64a26088c05f1d
authored
2002-08-23 06:51:13 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Not needed
1 parent
b3759c51
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
46 deletions
lib/mu_asprintf.c
lib/mu_asprintf.c
deleted
100644 → 0
View file @
b3759c5
/*
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Library General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include "mu_asprintf.h"
#if !HAVE_DECL_VASPRINTF
extern
int
vasprintf
__P
((
char
**
result
,
const
char
*
format
,
va_list
args
));
#endif
#if !HAVE_DECL_ASPRINTF
#if __STDC__
extern
int
asprintf
__P
((
char
**
result
,
const
char
*
format
,
...));
#else
extern
int
asprintf
();
#endif
#endif
int
mu_vasprintf
(
char
**
result
,
const
char
*
format
,
va_list
*
args
)
{
return
vasprintf
(
result
,
format
,
args
);
}
extern
int
mu_asprintf
(
char
**
result
,
const
char
*
format
,
...)
{
va_list
args
;
int
done
;
va_start
(
args
,
format
);
done
=
vasprintf
(
result
,
format
,
args
);
va_end
(
args
);
return
done
;
}
Please
register
or
sign in
to post a comment