PRINTF_L(3) BSD Library Functions Manual PRINTF_L(3)NAME
printf_l, asprintf_l, fprintf_l, snprintf_l, sprintf_l, vasprintf_l, vfprintf_l, vprintf_l, vsnprintf_l, vsprintf_l -- formatted output con-
version
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <stdio.h>
#include <xlocale.h>
int
printf_l(locale_t loc, const char * restrict format, ...);
int
asprintf_l(char **ret, locale_t loc, const char * format, ...);
int
fprintf_l(FILE * restrict stream, locale_t loc, const char * restrict format, ...);
int
snprintf_l(char * restrict str, size_t size, locale_t loc, const char * restrict format, ...);
int
sprintf_l(char * restrict str, locale_t loc, const char * restrict format, ...);
int
vasprintf_l(char **ret, locale_t loc, const char *format, va_list ap);
int
vfprintf_l(FILE * restrict stream, locale_t loc, const char * restrict format, va_list ap);
int
vprintf_l(locale_t loc, const char * restrict format, va_list ap);
int
vsnprintf_l(char * restrict str, size_t size, locale_t loc, const char * restrict format, va_list ap);
int
vsprintf_l(char * restrict str, locale_t loc, const char * restrict format, va_list ap);
DESCRIPTION
The above functions are used to convert formatted output in the locale loc. They behave in the same way as the versions without the _l suf-
fix, but use the specified locale rather than the global or per-thread locale. See the specific manual pages for more information.
SEE ALSO printf(3), xlocale(3)STANDARDS
These functions do not conform to any specific standard so they should be considered as non-portable local extensions.
HISTORY
These functions first appeared in Darwin and were first implemented in FreeBSD 9.1.
BSD April 7, 2012 BSD
Check Out this Related Man Page
PRINTF_L(3) BSD Library Functions Manual PRINTF_L(3)NAME
printf_l, asprintf_l, fprintf_l, snprintf_l, sprintf_l, vasprintf_l, vfprintf_l, vprintf_l, vsnprintf_l, vsprintf_l -- formatted output con-
version
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <stdio.h>
#include <xlocale.h>
int
printf_l(locale_t loc, const char * restrict format, ...);
int
asprintf_l(char **ret, locale_t loc, const char * format, ...);
int
fprintf_l(FILE * restrict stream, locale_t loc, const char * restrict format, ...);
int
snprintf_l(char * restrict str, size_t size, locale_t loc, const char * restrict format, ...);
int
sprintf_l(char * restrict str, locale_t loc, const char * restrict format, ...);
int
vasprintf_l(char **ret, locale_t loc, const char *format, va_list ap);
int
vfprintf_l(FILE * restrict stream, locale_t loc, const char * restrict format, va_list ap);
int
vprintf_l(locale_t loc, const char * restrict format, va_list ap);
int
vsnprintf_l(char * restrict str, size_t size, locale_t loc, const char * restrict format, va_list ap);
int
vsprintf_l(char * restrict str, locale_t loc, const char * restrict format, va_list ap);
DESCRIPTION
The above functions are used to convert formatted output in the locale loc. They behave in the same way as the versions without the _l suf-
fix, but use the specified locale rather than the global or per-thread locale. See the specific manual pages for more information.
SEE ALSO printf(3), xlocale(3)STANDARDS
These functions do not conform to any specific standard so they should be considered as non-portable local extensions.
HISTORY
These functions first appeared in Darwin and were first implemented in FreeBSD 9.1.
BSD April 7, 2012 BSD
Dear all
I am receiving the bellow error. Please help me how to over the error.
couliba@linux:~/bin/Ga> make find_rules
cc find_rules.c -o find_rules
In file included from find_rules.c:19:
util.h:15: error: syntax error before '*' token
util.h:15: error: conflicting types for... (19 Replies)
ok...
Take a look at the snippets below.
What does it mean a construct like:
void function()
type var;
{
funct code...
}
hmmm.. i dont get it. my compiler either.
void log_message(filename,message)
char *filename;
char *message;
{
FILE *logfile;
logfile=fopen(filename,"a");... (5 Replies)
Hi Everyone
I have this quite simple "tread" function
void* row_calc(void *input)
{
struct thread_arg* th_arg;
th_arg=(struct thread_arg *) input;
int start,width,end,seg,k,l,tmp;
start=th_arg->start;
width=th_arg->width;
end=start+width-1;
seg=th_arg->seg;
... (2 Replies)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
We are supposed to write a C program that parses a command line, separates it into each command (further... (5 Replies)
Hi all,
I have installed samba 3.6.22 on AIX 7.1 and join a windows AD with success.
All seem to work fine, I have configured smb.conf, methods.cfg, kerberos, user .... the following command work fine wbinfo -u, wbinfo -g, wbinfo -i, wbinfo -s, wbinfo -S, lsuser, id...
The unique... (20 Replies)