⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rtl_printf.3

📁 rtlinux-3.1源代码
💻 3
字号:
.\" This -*- nroff -*- file has been generated from.\" DocBook SGML with docbook-to-man on Debian GNU/Linux....\"...\"	transcript compatibility for postscript use....\"...\"	synopsis:  .P! <file.ps>...\".de P!\\&..fl			\" force out current output buffer\\!%PB\\!/showpage{}def...\" the following is from Ken Flowers -- it prevents dictionary overflows\\!/tempdict 200 dict def tempdict begin.fl			\" prolog.sy cat \\$1\" bring in postscript file...\" the following line matches the tempdict above\\!end % tempdict %\\!PE\\!..sp \\$2u	\" move below the image...de pF.ie     \\*(f1 .ds f1 \\n(.f.el .ie \\*(f2 .ds f2 \\n(.f.el .ie \\*(f3 .ds f3 \\n(.f.el .ie \\*(f4 .ds f4 \\n(.f.el .tm ? font overflow.ft \\$1...de fP.ie     !\\*(f4 \{\.	ft \\*(f4.	ds f4\"'	br \}.el .ie !\\*(f3 \{\.	ft \\*(f3.	ds f3\"'	br \}.el .ie !\\*(f2 \{\.	ft \\*(f2.	ds f2\"'	br \}.el .ie !\\*(f1 \{\.	ft \\*(f1.	ds f1\"'	br \}.el .tm ? font underflow...ds f1\".ds f2\".ds f3\".ds f4\"'\" t .ta 8n 16n 24n 32n 40n 48n 56n 64n 72n  .TH "rtl_printf" "3" .SH "NAME" rtl_printf \(em print formatted output .SH "SYNOPSIS" .PP .nf .ta 8n 16n 24n 32n 40n 48n 56n 64n 72n #include <rtl_printf.h>  int \fBrtl_printf\fP(const char *\fBformat\fR, ...); .fi .SH "DESCRIPTION" .PP This function is a non-portable RTLinux extension. .PP The \fBrtl_printf\fP function converts and formats its arguments similarly to \fBprintf(3)\fP and places output to the kernel message buffer.  Unlike the Linux kernel \fBprintk\fP output facility, \fBrtl_printf\fP is safe to use from RTLinux threads and interrupt handlers. .SH "RETURN VALUE" .PP This function returns the number of bytes output on success, and a negative  value on error. .SH "ERRORS" .PP No errors are defined. .SH "NOTES" .PP Generally, if at the Linux console, the kernel messages that \fBrtl_printf\fP produces are visible on the screen. You can also use the \fBdmesg(1)\fP command to view the kernel messages buffer. This is particularly useful when working in X. In addition, the \fBsyslogd(8)\fP daemon is often configured to place the kernel messages to \fB/var/log/messages\fP. .SH "AUTHOR" .PP Michael Barabanov (\fIbaraban@fsmlabs.com (link to URL mailto:baraban@fsmlabs.com) \fR) .SH "SEE ALSO" \fIprintf(3) (link to URL ../susv2/xsh/printf.html) \fR, \fIfprintf(3) (link to URL ../susv2/xsh/fprintf.html) \fR .PP \(co2001 FSMLabs Inc. .PP All rights reserved. ...\" created by instant / docbook-to-man, Thu 26 Jul 2001, 11:20 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -