915 karma · joined June 9, 2011
DWORD errorCode = GetLastError();
DWORD dwFlg = FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS;
LPTSTR lpMsgBuf = NULL;
FormatMessageA(dwFlg, 0, errorCode, 0, (LPTSTR)&lpMsgBuf, 0, NULL);
// Error message is in lpMsgBuf so make sure to free afterwards.
LocalFree(lpMsgBuf);For a while we had some good alternatives to Intel x86. Alpha, Sparc, Motorola 68k, PowerPC, MIPS. Now we just have 32 and 64 variants of x86 and ARM. I guess powerpc is technically not dead yet (which is good!) although the new 64 bit powerpc is little endian I think...
As for companies, Sun Microsystems. I'd like to think that Sun, if they were still around, would be handling Java better than Oracle is today. I'd like to believe that they'd operate similar to Microsoft on the open source front.
https://bugzilla.kernel.org/show_bug.cgi?id=14679
It's sad because Toshiba was credited on the ACPI specification documents so how they messed things up so bad I don't know.
To this day, the Toshiba I own currently only works with Windows 7 and Linux. No support for any of the BSDs.
#include <stdio.h>
int main(void) { puts("42"); return 0; }
To build H2O as a library you will need to install the following dependencies:
libuv version 1.0 or above OpenSSL version 1.0.2 or above
As I understand it, regular h2o doesn't require libuv but libh2o does.