bionic Questions

2

Solved

I'm getting E: The repository 'https://apt.postgresql.org/pub/repos/apt bionic-pgdg Release' no longer has a Release file. on sudo apt update. That means that repo for bionic is not accessible. In...
Wise asked 6/11, 2023 at 8:12

3

In Android the bionic loader sets a default signal handler for every process on statrtup: void debugger_init() { struct sigaction act; memset(&act, 0, sizeof(act)); act.sa_sigaction = debug...
Flawy asked 17/7, 2014 at 12:18

2

Solved

As you may know, Bionic is a C library used by Google to run Android applications. There are efforts to compile it in Linux machines, so it could be easily used outside Android. This is the code fr...
Houri asked 31/3, 2016 at 10:40

3

I'm trying to implement a native shared library(.so) for the Android system. Naturally, there are some code blocks that need to be thread-safe. I found out here that pthreads locks, mutexes, or co...

1

I am experimenting on alternate signal stack(man sigaltstack). Two pieces of code allocating stack differently: int method1(void) { struct sigaction act, oldact; memset(&act, 0, sizeof(act...
Capillary asked 21/4, 2015 at 2:18

1

Solved

I have large project which needs futimes or futimens function. Unfortunately there are no such functions in header files in android ndk include folder. Is there a work-around (stub or simple code s...
Leaving asked 15/10, 2013 at 6:40

2

Solved

I read the memcpy implementation in the http://androidxref.com/4.0.4/xref/bionic/libc/string/bcopy.c find following code is hard to understand, can anybody explain it? 36 /* 37 * sizeof(word) MU...
Poussin asked 28/6, 2012 at 3:22

3

Solved

What does this option to ld mean? -lrt I know to some degree it means that ld is looking for the library with real-time extensions, but after searching extensively, I couldn't find an exact defin...
Cormick asked 19/7, 2011 at 20:55
1

© 2022 - 2024 — McMap. All rights reserved.