In comp.os.linux, article <C9pyMq.CI@bigcomm.gun.de>, ado@bigcomm.gun.de (Christoph Adomeit) writes:... unless you tell the C++ compiler to use C encoding. Unfortunately, you lose operator overloading that way. Don't do that. Use a file in /proc instead. The additional kernel code is minimal, it's _much_ easier to get the info with generic tools, and you're protected when the kernel structure changes. If the driver is compiled with the appropriate C++ headers it will link without any problems. -- Writing is not hard. Just get paper and pencil, sit down and write it as it occurs to you. The writing is easy -- it's the occurring that's hard. -- Stephen Leacock -- Matthias Urlichs -- urlichs@smurf.sub.org -- Phone: NONE; use email or lose. Schleiermacherstrasse 12 -- 90491 Nuernberg -- Germany || Linux+Mac Consulting
| Chuck Ebbert | Why do so many machines need "noapic"? |
| Jesper Juhl | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Joe Perches | Re: [RFC] New kernel-message logging API |
| Ken Chen | [patch] remove artificial software max_loop limit |
git: | |
| walt | [VOTE] git versus mercurial |
| Linus Torvalds | People unaware of the importance of "git gc"? |
| Junio C Hamano | Re: git + ssh + key authentication feature-request |
| Martin Langhoff | Handling large files with GIT |
| Christian Weisgerber | Re: libiconv problem |
| Richard Stallman | Real men don't attack straw men |
| Daniel Ouellet | Show your appreciation and get your 4.2 DVD |
| new_guy | Code signing in OpenBSD |
| David C. Niemi | Re: rsh: "rcmd: socket: Permission denied" |
| Peter MacDonald | demand paging: proposal |
| Peter Grehan | TCP SYN_RECV state: stuck forever in accept() ? |
| Dennis Robinson | Source for uptime, df, ps ? |
