delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/03/04/03:35:33

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A6102385841D
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1709541331;
bh=rBDVzlGGTdioOsp2k8lwIZ5RhJvwC8Q0HEh0aWWmZqA=;
h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=drUa1q2kcM/B0snYju6ALMvlhROLePiuDEb292zVJtLizWwjU5ecQ0I+thhTsHwC7
vHYNJpdn/2GTENeuUBNlu3DkzCtzvifcaCaPYpWBn/hr3Dk/PZJEYwDscXi6tcJTf/
weVZuCsitPhHku+2arvy3Tr51iNNmJ68ZFljcih4=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6ECAA3858C32
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 6ECAA3858C32
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1709541307; cv=none;
b=R6F+OcNQJwFpchNFJX7afL785vi7kt7frq2QszucdEJzeObL+6bUfzQJ8dHcJa74YJZhJ0/DSTU406KeNAK7RFVHJTe9mb6ONvis5ZSeJk12BlO/mGrxLRvH/YC3picS+D+wQvYm5ETDt6uihKNO0RcqkMPmHvpDtW9Lhxsr6wU=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1709541307; c=relaxed/simple;
bh=Wm0Vq2iMJf2w9814EwFihRe0edUi+M+DwtJrGI8ml4o=;
h=DKIM-Signature:Date:From:Message-ID:To:Subject:MIME-Version;
b=x39b0zAeiYB2zvO4BN/BMsLUM/88F9g2rUcYaC91jfOI7uMpq3vOwlPBvNg1sLDHGwxFzGMeASMdLajM5nticLZWzzjE6GVprD7vx6JjdzCYjE35HpCG6GAB/GB61AffyZ7sdlDo103QpNTjinsdsuqyWfCVm1Jwh+41Q4ExvHY=
ARC-Authentication-Results: i=1; server2.sourceware.org
X-Yandex-Fwd: 1
Date: Mon, 4 Mar 2024 11:21:20 +0300
X-Mailer: The Bat! (v9.3.4) Professional
Message-ID: <1869207041.20240304112120@yandex.ru>
To: Cedric Blancher <cedric DOT blancher AT gmail DOT com>, cygwin AT cygwin DOT com
Subject: Re: Convert a file descriptor from Cygwin openat() to Win32 file
HANDLE?
In-Reply-To: <CALXu0Udk+gw6T9kYHX9XViigfvkS+bw0f4KGi3n7MiQA-3zVVg@mail.gmail.com>
References: <CALXu0Udk+gw6T9kYHX9XViigfvkS+bw0f4KGi3n7MiQA-3zVVg AT mail DOT gmail DOT com>
MIME-Version: 1.0
X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_THEBAT,
NICE_REPLY_A, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_PASS, TXREP,
T_SCC_BODY_TEXT_LINE,
XM_LIGHT_HEAVY autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Andrey Repin via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Andrey Repin <anrdaemon AT yandex DOT ru>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

Greetings, Cedric Blancher!

> How can I convert a file descriptor from Cygwin openat() to Win32 file HANDLE?

In general, you should not attempt to do such thing.
If you have a very specific idea in mind, it would be best to describe, what
you are trying to achieve, so community could provide a more meaningful
suggestion to solve your specific issue.


-- 
With best regards,
Andrey Repin
Monday, March 4, 2024 11:19:58

Sorry for my terrible english...


-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019