#include <stdio.h>
Go to the source code of this file.
Functions | |
| int | rpmemlog_open (char *buf, size_t len, int realtime, void(*user_printf)(const char *fmt,...)) |
| "rpmemlog_open()" creates a descriptor by using given arguments. | |
| int | rpmemlog_close (int fd) |
| "rpmemlog_close()" closes the descriptor. | |
| int | rpmemlog_printf (int fd, const char *fmt,...) |
| "rpmemlog_printf()" prints a message into the ring buffer. If realtime flag is asserted, this message is printed by calling user_printf(). | |
| int | rpmemlog_realtime (int fd, int on) |
| "rpmemlog_realtime()" changes the realtime flag. | |
| int | rpmemlog_show_memlog (int fd) |
| "rpmemlog_show_memlog()" prints the ring buffer. |
| int rpmemlog_close | ( | int | fd | ) |
"rpmemlog_close()" closes the descriptor.
| [in] | fd | The descriptor. |
| int rpmemlog_open | ( | char * | buf, | |
| size_t | len, | |||
| int | realtime, | |||
| void(*)(const char *fmt,...) | user_printf | |||
| ) |
"rpmemlog_open()" creates a descriptor by using given arguments.
| [in] | buf | A ring buffer address. If NULL is specifiled, it will be allocated internally. |
| [in] | len | The length of the ring buffer. |
| [in] | realtime | If realtime is 0, rpmemlog_printf() only stores a message into ring buffer which can be printed by calling rpmemlog_show_memlog(). If not 0 , rpmemlog_printf() also calls user_printf() to print the message in real-time. |
| [in] | user_printf | A function pointer of your print function. If NULL, printf() in stdio.h is used internally. |
| int rpmemlog_printf | ( | int | fd, | |
| const char * | fmt, | |||
| ... | ||||
| ) |
"rpmemlog_printf()" prints a message into the ring buffer. If realtime flag is asserted, this message is printed by calling user_printf().
| [in] | fd | The descriptor. |
| [in] | fmt | A format string like the standard printf function in stdio.h. |
| int rpmemlog_realtime | ( | int | fd, | |
| int | on | |||
| ) |
"rpmemlog_realtime()" changes the realtime flag.
| [in] | fd | The descriptor. |
| [in] | on | The real-time flag. See rpmemlog_open(). |
| int rpmemlog_show_memlog | ( | int | fd | ) |
"rpmemlog_show_memlog()" prints the ring buffer.
| [in] | fd | The descriptor. |


{% extends "_post.html" %} {%hyde title: "Tangerine with Cocoa" created: 2006-10-13 14:49:03 %} {% block article %} {%article%}
Last weekend I spent some time porting Tangerine to Mac OS X. The actual music sharing daemon worked fine with no changes, except I had to modify the path to the xml database for the iTunes plugin. With that out of the way, I set out to create a native configuration GUI for it. I had never used Obj-C or Cocoa or anything like that before, so I thought it would be fun to learn all of that stuff. The Apple developer tools are pretty nice, and it wasn’t long before I had a semi-working preference pane. The last couple of nights I polished it up to the point where I think it’s releasable, so here we go.
I’m not an expert on Apple interfaces, so I’d welcome input from someone who has experience with this. It looks ok to me, though. The “automatic” selection uses Spotlight to find all of your music and share it. This is the same thing it does on Linux and Windows with Beagle and Google Desktop, respectively.
My next post will be about my experience porting this app to Windows and Mac OS X, what they have that’s better/worse than Linux, etc.
Update: To use Tangerine you’ll need the Mono framework installed. Get it here.
{%endarticle%} {% endblock %}


Owldoc
A JavaScript prose documentation generator.
Owldoc is a tool for generating prose documentation using Node.js, in the style of Sphinx. It accepts a Markdown file and an EJS template file, and proceeds to generate a documentation file with them.
Owldoc is freely distributable under the terms of the MIT license.
Basic Usage
$ owldoc docs.md > docs.html
And hey presto, your documentation is now generated!
Rendering
The template is supplied with the following context variables:
title
The text of the first heading.
content
Contains the rendered Markdown.
toc
Contains a table of contents tree. It has three attributes:
id
which contains the anchor to a section,children
which contain all items underneath this level, andtitle
for the text of the section. Ifid
isnull
, then this section doesn't actually exist, and the item is there just to act as a placeholder.
During rendering, all headings are given id
attributes for anchors. These
anchors are resolved in order — for instance, the anchor to this section is
#Rendering
. If another section was named "Rendering" after this
section, then the anchor to that section will be named #Rendering-2
.
If you want to override the anchor text, simply surround the section of the
title you want to make the anchor with
.


A study of Dante and Virgil, 2022
Forest 1, 2022
Cat, 2022
A study of a scene from Lighthouse (2019), 2022


As a founding Certified B Corporation and specialty coffee reviewer, Kofí has connected roasters, growers, and coffee drinkers since 2018. Our offerings range from light to dark roasted coffees, focusing on balance and sweetness (or whatever you taste, because let's be honest, it's all personally relative). We are here to learn, discover coffee with you, and not take ourselves too seriously. Bottoms Up!


>>
<<
Usr
Pri
JfC
LJ
Phr
Dic
Voc
!:
Help
Primer
Component files
A component file (jfile) can be thought of as a boxed list stored in a file. An item of the boxed list on file is referred to as a component.
Help
Primer


{{date | amTimeAgo}}
{{rallies}} Rallied
{{objTitle}}
{{repAddress}}
US Representative for {{rep.state_name}} District {{rep.district}}
US Senator for {{rep.state_name}}
US Senator for {{rep.state}}


--- layout: default title: Home ---
Jed Feder is a New York-based actor, drummer, guitarist, and composer. Most recently he was on tour as Kassim in Disney’s Aladdin and appeared as Uri Savir in Broadway in Chicago and TimeLine Theatre’s co-production of Oslo.
Additionally, Jed has previously worked as an actor, a musician, and often both at Arena Stage, Chicago Shakespeare Theatre, Marriott Theatre, Drury Lane Oakbrook, Chicago Children’s Theatre, Asolo Rep., and more.
Jed is a Northwestern alum, where he studied Radio/TV/film and Music Composition. He is a proud member of Actors’ Equity and the American Federation of Musicians.


Matthew Horton, Gavin Sim, Janet C Read, Daniel Fitton, Emanuela Mazzone
"This paper looks at the practice of carrying out design and evaluation sessions with school aged children by describing a general method for carrying out and arranging whole class activities that are school friendly and then by analyzing the academic value of these activities."
Unread


Welcome to the official website of Ninja-juce productions
Home
|
About us
|
Our team
|
Short films
|
Merch
|
Animation
Merch
We have some
Epic merch
. Coming soon