Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

fprintf_l(3) [freebsd 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

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
Man Page

9 More Discussions You Might Find Interesting

1. Programming

Error need help

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)
Discussion started by: coulio
19 Replies

2. Programming

Waht does thou mean, old C code

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)
Discussion started by: heck
5 Replies

3. Programming

segmnetation fault by pthread_mutex_unlock on a successfully locked mutex

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)
Discussion started by: jonas.gabriel
2 Replies

4. Shell Programming and Scripting

Script for monitoring disk failures

Hi , Does anyone have a script for monitoring disk failures on a Solaris 10/11 box? Need one today ASAP, thnks in advance. (2 Replies)
Discussion started by: walnutpony123
2 Replies

5. Programming

how to programing daemon to create log record every second

i write ..... #include <stdio.h> #include <fcntl.h> #include <signal.h> #include <unistd.h> #define RUNNING_DIR "/tmp" #define LOCK_FILE "exampled.lock" #define LOG_FILE "exampled.log" void log_message(filename,message) char *filename; char *message; { FILE... (2 Replies)
Discussion started by: slackman
2 Replies

6. Homework & Coursework Questions

Cannot correctly connect multi-stage C command pipe (among others) (FYI: a lot of code)

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)
Discussion started by: kowit010
5 Replies

7. Solaris

/var/adm/sulog does not showing year

Hi, I would like to know is there any way to capture the year in /var/adm/sulog file in solaris 10? Please suggest (2 Replies)
Discussion started by: manoj.solaris
2 Replies

8. AIX

Samba 3.6.22 on AIX 7.1 with Windows AD (Kerberos and winbind)

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)
Discussion started by: PhilippeA
20 Replies

9. Shell Programming and Scripting

How to get contents of php page using curl in C language?

Hi, I want to write code in C using curl library to get output of php page , the output is in xml. Thanks (2 Replies)
Discussion started by: nitks.abhinav
2 Replies