journal_start programming 2.6.32

linux/include/linux/jbd.h
Definitions for transaction data structures for the buffer cache
filesystem journaling support.

journal_start – Obtain a new handle.

#include<stdio.h>
#include "jbd.h"
main()
{
handle_t *learn;
learn=journal_start("",10);
}

http://froisa.com/wp-content/uploads/2010/03/journal_start-error.txt

linux-2.6.32/fs/jbd/transaction.c

http://www.ibm.com/developerworks/linux/library/l-linux-synchronization.html

Bee Swarm
[audio:http://www.freeinfosociety.com/media/sounds/4928.mp3]

textdomain programming

textdomain(“coreutils”) = “coreutils”

#include<libintl.h>
#include<stdio.h>
main()
{
char *textd;
textd=textdomain("iam happy");
printf("\n %s \n",textd);
}

The textdomain function sets or retrieves the current message domain.
http://php.net/manual/en/function.textdomain.php

Annan, Kofi: 2006 Human Rights Day
[audio: http://www.freeinfosociety.com/media/sounds/5522.mp3]

bindtextdomain programming

The bindtextdomain function sets the base directory of the hierarchy containing message catalogs for a given message domain.

bindtextdomain(“coreutils”, “/usr/share/locale”) = “/usr/share/locale”

#include<libintl.h>
#include<stdio.h>
main()
{
char *btpointer;
btpointer=bindtextdomain("coreutils","/usr/share/locale");
printf("\n %s \n",btpointer);
}

http://refspecs.freestandards.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/baselib-bindtextdomain.html

http://php.net/manual/en/function.bindtextdomain.php

American Bison
[audio:http://www.freeinfosociety.com/media/sounds/280.mp3]

__cxa_atexit programming

__cxa_atexit(0x402a20, 0, 0, 0x736c6974756572, 0xffffffffffbfb709) = 0

__cxa_atexit — register a function to be called by exit or when a shared library is unloaded

http://refspecs.freestandards.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/baselib—cxa-atexit.html

__cxa_atexit() is not in the source standard; it is only in the binary standard.

a snapshot from the binary file.
^@__cxa_atexit^@GLIBC_2.3^@G

http://www.answers.com/topic/binary-standard
http://dictionary.reference.com/browse/standard
http://en.wikipedia.org/wiki/Application_binary_interface

atexit – register a function to be called at normal process termination

Animal: Crow
[audio:http://www.freeinfosociety.com/media/sounds/291.mp3]

setlocale programming

setlocale(6, “”) = “en_IN”

The setlocale() function is used to set or query the program’s current locale.

#include <locale.h>
#include<stdio.h>
main()
{
char *strpointer;
strpointer=setlocale(LC_ALL,””);
printf(“\n %s \n”,strpointer);
printf(“\n %d \n”,LC_ALL);
}
http://php.net/manual/en/function.setlocale.php

National Anthem: Andorra
[audio:http://www.freeinfosociety.com/media/sounds/4157.mp3]

strrchr programming

strrchr(“/bin/pwd”, ‘/’) = “/pwd”

strchr, strrchr, strchrnul – locate character in string.

#define _GNU_SOURCE
#include<stdio.h>
#include<string.h>
main()
{
char *stringp;
stringp=strrchr(“/bin/pwd”,’/’);
printf(“\n %s \n”,stringp);
}

http://php.net/manual/en/function.strrchr.php

Agassi, Andre: Farewell to Tennis
[audio: http://www.freeinfosociety.com/media/sounds/3828.mp3]

initialization routine

__libc_start_main(0x80493a0, 1, 0xbfea9f74, 0x804e4f0, 0x804e4e0

__libc_start_main is initialization routine.

stack top = main = 0x80493a0
so stack top to bottom is from left to right.

http://en.wikipedia.org/wiki/Prototype

http://refspecs.freestandards.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/baselib—libc-start-main-.html

Armstrong, Neil: One Small Step For Man
[audio: http://www.freeinfosociety.com/media/sounds/13.mp3]

getenv programming

getenv(“POSIXLY_CORRECT”) = NULL

The getenv() function searches the environment list to find the environment variable name, and returns a pointer to the corresponding value string.

if the output is NULL then it means that POSIXLY_CORRECT environment
variable is not set to true. so the current program may not try to run in
strict POSIX mode.

7th Cavalry March
[audio:http://www.freeinfosociety.com/media/sounds/2542.mp3]