c-libraries Questions

4

I have my own socket implementation that supports connection from regular tcp client. Now I would like to add websocket support in my server program. In that case I will need to support handshaking...
Infighting asked 3/3, 2012 at 4:55

3

Solved

We are using C89 on an embedded platform. I attempted to print out a size_t, but it did not work: #include <stdio.h> int main(void) { size_t n = 123; printf("%zu\n",n); return 0; } Ins...
Wooer asked 21/12, 2016 at 13:27

3

Solved

I was reading implementation of header in C library, where I came across macro overrides for functions, along with function declarations. I want to know how is this useful, .i.e. either macro shoul...
Clash asked 5/4, 2020 at 6:11

3

Solved

I saw this link but I'm not asking for a performance degradation for code using "extern". I mean without "extern", is there "context switching" when using C library in C++? Are there any problems w...
Spinal asked 30/12, 2017 at 2:26

1

Solved

Everything in the Postgres world has common abbreviation pg, and it seems more logical to call Postgres' c-library libpg, rather than libpq. Why is it called libpq? Is libpg already taken by anothe...
Jamarjamb asked 17/10, 2015 at 15:30

4

Is there a decent open-source C library for storing and manipulating dynamically-typed variables (a.k.a. variants)? I'm primarily interested in atomic values (int8, int16, int32, uint, strings, blo...
Mukden asked 29/4, 2010 at 4:42

3

Solved

While executing a 3rd party c++ program I get the following error: error while loading shared libraries: libgomp.so.1: cannot open shared object file: No such file or directory The libgomp.so.1 ...
Fraktur asked 14/8, 2012 at 9:23
1

© 2022 - 2024 — McMap. All rights reserved.