Questions tagged [c-libraries]
63 questions
0
votes
1 answer
How can I use my C library as others like stdio
I recently made a small library in C, and I wanted to put it together with the standard libraries so I don't have to always copy the files for each new project.
Where do I have to put it so I can import it like the standard libraries?
Compiler :…

bruno vicente
- 39
- 5
0
votes
0 answers
What does __kernel_size_t data type in C header file mean?
I was looking thought the string.h header file when I found a data type called __kernel_size_t.
I couldn't find anything of interest about it's meaning so I'm asking here.
I'm running linux and it's location is…
user19139723
0
votes
1 answer
Install enchant C library in ProQuest' TDM Studio (which use an AWS SageMaker server)
Im in trouble installing Install enchant C library in AWS SageMaker.
I follow these steps (I sent the commands from jupyter-notebook -in python language- to terminal using os.system, and os.popen -for got outputs of terminal- ):
(1st) Ask for…
0
votes
0 answers
Use libdvbpsi on Android app to get EPG information
I'm developing an app to run on a set top box with Android. This app has a media player to play multicast IPTV streams. I use LibVLC and VLCVideoLayout, following the official java_sample. I want to get EPG information and it seems that libdvbpsi…

Jon
- 891
- 13
- 32
0
votes
1 answer
How to run system function with long command in c file?
I'm not able to get the output of command in text file when running this executable of '.c' file:
char image_upload_cmd[100] = {'\0'};
sprintf(image_upload_cmd, "mcumgr conn show > /home/sample/statfile.txt");
system(image_upload_cmd);
--> mcumgr…

MayankR
- 25
- 4
0
votes
1 answer
Installing Error of Shapely and GDAL on pydroid
Pydroid is a good app for beginners and others for running python on android. I could install many useful libraries without any problems, but I don't understand why some libraries such as GDAL, Shapely, Pyproj could not be installed.
Installation…

Khaled
- 159
- 3
- 10
0
votes
1 answer
How can I call cool image library functions by using prolog?
I am looking to build a system in which I am able to call Cool Image library functions (It's a C Language library for image processing tasks) by using Prolog.
There are functions in CoolImage Library such resizing an image, creating a mask etc. So I…

Palash Sharma
- 1
- 4
0
votes
1 answer
Supplying different library/function at link time
If I want to clone a library and change just one function, say memcpy or memmove, and have an already built executable link to it for debugging/exploration purposes, what is the proper way to do this?
I am guessing I need to recompile the entire…

Michael Chinen
- 17,737
- 5
- 33
- 45
0
votes
1 answer
Reading in data with fscanf
Hey all I had a quick question regarding reading in information from a text file.
I have a formatted .txt with customer information in the file. The file contains multiple customers, each with a different order type, product purchased, address,…
user8968600
0
votes
0 answers
What is the process of relation scanf() and OS?
I'm searching about some materials in Operation System course during reading a book with this subject.
I have a question and need your helps. What is the process of relation between a specific library of any programming language (now I'm talking…

Mehrdad
- 41
- 1
- 1
- 4
0
votes
2 answers
Can't use my library in C
I'm using a OS X machine and I've written a library in C which I'd be using for future programs.
This is the declaration: (FunzioniListe.h)
#ifndef FUNZIONILISTE_H
#define FUNZIONILISTE_H
#include
#include
struct node {
…

Mattia Righetti
- 1,265
- 1
- 18
- 31
0
votes
1 answer
Automatically generate header file for custom C library
I have some simple implementation of LinkedList in file list.
To crate library out of it I'm using cmake, my CMakelists.txt looks like that:
cmake_minimum_required(VERSION 2.6)
project(LinkedList)
set(CMAKE_CXX_FLAGS "-o…

Purple
- 711
- 2
- 10
- 19
0
votes
2 answers
Using c library in c++ code with makefile
I have a C library made by cluster.h and cluster.c. I compiled that with gcc -c cluster.c.
I have to use a method of this library in the main class of a C++ project. This is the makefile i use:
abundancebin: main.o profileManager.o myHash.o…

leonardo vet
- 119
- 14
0
votes
1 answer
Large unexpected u16_t buf
I have C function that calls pointer to function (with pointer to buf and size of buf)
printf("------------------------------\n");
printf("lengh of DATA_output = %zu\n", p->tot_len);
(*myStr.OnSendData)(buf,…

RedCollarPanda
- 1,389
- 1
- 20
- 40
0
votes
0 answers
How to let Windows recognize a folder as Recycle Bin?
I have a FAT32 MicroSD card, where my device creates a folder named '$Recycle.Bin' in the root, with hidden+system attributes set, but Windows doesn't recognize it as a real recycle bin (with the correct icon, etc.).
How can I trick Windows into…

Maestro
- 9,046
- 15
- 83
- 116