Forgot your password?
typodupeerror

Comment Re:Using CUSE for sound devices is The Right Way (Score 1) 374

Take a look at http://fort2.xdas.com/~kor/oss2jack/ and the timestamps on that page.. This is a very bad case of deja vu, the 'fusd' framework is currently unmaintained (cusd is probably nicer..) but it's been around for a couple of years already. And guess what, the author of the above page wrote a userspace OSS device that couples to JACK. This stuff already exists for years!
Hardware Hacking

CoreBoot (LinuxBIOS) Can Boot Windows 7 Beta 207

billybob2 writes "CoreBoot (formerly LinuxBIOS), the free and open source BIOS replacement, can now boot Windows 7 Beta. Videos and screenshots of this demonstration, which was performed on an ASUS M2V-MX SE motherboard equipped with a 2GHz AMD Sempron CPU, can be viewed on the CoreBoot website. AMD engineers have also been submitting code to allow CoreBoot to run on the company's latest chipsets, such as the RS690 and 780G."

Comment Re:Languages, tools, and libraries (Score 1) 956

While I agree with the general spirit of your post, please allow me to introduce you to a magic function called 'asprintf'!

'man 3 asprintf' says:

"The functions asprintf() and vasprintf() are analogs of sprintf(3) and vsprintf(3), except that they allocate a string large enough to hold the
output including the terminating null byte, and return a pointer to it via the first parameter. This pointer should be passed to free(3) to
release the allocated storage when it is no longer needed."

So your very long example just became a bit shorter. Of course you need to check if the returned string != NULL (just in case there wasn't enough memory). You also gain all the nice formatting functions of printf (though "%s%s" will do nicely in your example).

Slashdot Top Deals

All power corrupts, but we need electricity.

Working...