UNIX API wcwidth – determine columns needed for a wide character API Explanation Code #define _XOPEN_SOURCE #include <wchar.h> #include<stdio.h> main() { int value; wchar_t cr; cr=’H’; value=wcwidth(cr); printf(“n %d n”,value); } http://gcc.gnu.org/ml/gcc-bugs/2000-10/msg00540.html
Author Archives: jeffrin
wcwidth programming
wcwidth – determine columns needed for a wide character #define _XOPEN_SOURCE #include <wchar.h> #include<stdio.h> main() { int value; wchar_t cr; cr=’H’; value=wcwidth(cr); printf(“\n %d \n”,value); } http://gcc.gnu.org/ml/gcc-bugs/2000-10/msg00540.html
tic compiler
tic – the terminfo entry-description compiler The command tic translates a terminfo file from source format into compiled format. The compiled format is necessary for use with the library routines in ncurses(3NCURSES). http://tldp.org/HOWTO/Text-Terminal-HOWTO.html
__errno_location binary standard
__errno_location() = 0x7f631c659698 __errno_location — address of errno variable snapshot from the binary file /bin/ls ^@strstr^@__errno_location^@mempcpy^@_setjmp^ http://refspecs.freestandards.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/baselib-errno-location-1.html
__fpending programming
The __fpending() function returns the number of bytes in the output buffer. For wide-oriented streams the unit is wide characters. This function is undefined on buffers in reading mode, or opened read-only. On POSIX-compliant platforms, SIGSEGV is the signal sent to a process when it makes an invalid memory reference, or segmentation fault. #include<stdio.h> #include<stdio_ext.h> …
BCM4311 802.11b/g WLAN
-[0000:00]-+-1c.1-[04]—-00.0 Broadcom Corporation BCM4311 802.11b/g WLAN command : lspci -n 00:1c.1 0604: 8086:2841 (rev 03) http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/
SMBus controller
SMBus is the System Management Bus defined by Intel in 1995. It is used in personal computers and servers for low-speed system management communications. An SMBus controller is integrated into most IntelĀ® chipsets. The SMBus Controller (or system bus controller) is part of the Intel chipset. It monitors your system board’s temperature and voltage. Programs …
lspci -tv
decoding … 0000.00.18.1 Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map 0000 : PCI domain (each domain can contain up to 256 PCI buses) 00 : the bus number the device is attached to 18 : the device number .1 : PCI device function http://froisa.com/wp-content/uploads/2010/04/lspci-tv.txt
define bus, topology
Bus An electronic pathway. In networks, a configuration (topology) with a single linear cable, terminated at each end, to which computers and devices are connected. There are no loops or branches in the cable. Also called a daisy chain. Topology. The arrangement in which the nodes of a LAN are connected to each other. Cuckoo. …
APC alternate PHP cache ( apc_add )
The alternate PHP cache is free and open opcode cache for PHP. http://en.wikipedia.org/wiki/Opcode $variable= ‘Iam ok’; apc_add(‘foo’,$variable); var_dump(apc_fetch(‘foo’)); the above code is not working as desired. the output we get is “bool(false)” http://www.techterms.com/definition/parse -r code Run PHP code without using script tags ‘ Armstrong, Neil: The Eagle Has Landed [audio:http://www.freeinfosociety.com/media/sounds/18.mp3]