bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnulib] wordexp function available on Android versions different fr


From: Luca Saiu
Subject: Re: [Gnulib] wordexp function available on Android versions different from 9? And how can we know? How do I discover that?
Date: Fri, 03 Sep 2021 15:58:48 +0200
User-agent: Gnus (Gnus v5.13), GNU Emacs 28.0.50, x86_64-pc-linux-gnu

Hello Bruno.

On 2021-09-03 at 15:48 +0200, Bruno Haible wrote:

> Typically functions get added to an OS or libc over time, and don't get
> removed. Therefore, if the doc says "unavailable in Android 9.0" it also
> means "unavailable in all Android versions ≤ 9.0".
[...]

Very interesting; thanks...

> Regarding Android: The Android include files from the newest Android
> Development Toolkit contain information when each function was
> introduced;

...Particularly for this.

>> I would like to use the function wordexp, which is in posix
>
> Are you sure you don't want to use glob() or fnmatch() instead?

What I actually need is variable expansion, and wordexp can be called to
do (almost) only that; globbing per se wolud not be needed, but I could
accept it as long as the resulting string is only one.

In the end I am implementing something from scratch.

Thanks anyway.  You are always helpful.

-- 
Luca Saiu
* p≡p foundation:        https://pep.foundation
* My personal web site:  http://ageinghacker.net

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]