220 34371 <CAHSYqdbqM6F2AC5Lxi64DmiEXqyqhQiQOm4-_5=GzYzyKTeneQ@mail.gmail.com> article
Path: news.gmane.org!.POSTED!not-for-mail
From: Hyman Rosen <hyman.rosen@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Re: home_directory for filesystem
Date: Mon, 11 Sep 2017 17:52:04 -0400
Lines: 54
Approved: news@gmane.org
Message-ID: <CAHSYqdbqM6F2AC5Lxi64DmiEXqyqhQiQOm4-_5=GzYzyKTeneQ@mail.gmail.com>
References: <37a2ebea-dfb0-4306-a6f0-780e790b79ee@isocpp.org>
 <8af34c7a-85a1-4662-a8a4-ffeaf3ee32ac@isocpp.org> <5aa4bd1e-991a-4d53-b85c-b92f1833ccda@isocpp.org>
 <61d16c42-8f27-47ad-8bee-76fd603bce09@isocpp.org> <08f9f13a-bc17-41a8-a435-b219d9cd89ab@isocpp.org>
 <58f0a39d-e660-4785-a065-c5ae234ed613@isocpp.org> <a7bce837-59b5-4e28-a40e-54fcac7a52da@isocpp.org>
 <99bdbba4-7ed5-479d-9ae9-8e93fbc37c04@isocpp.org> <2de82947-a4f6-4436-9982-4a57ba60e62c@isocpp.org>
 <885c824c-4c51-4e61-950d-7bcf8f39bcda@isocpp.org> <41bed338-10ff-4c24-99b4-702babec0a34@isocpp.org>
 <edffb219-8034-2935-20d0-ffc225b52d20@gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="001a11435ed8342e5b0558f0f13b"
X-Trace: blaine.gmane.org 1505330556 5611 195.159.176.226 (13 Sep 2017 19:22:36 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Wed, 13 Sep 2017 19:22:36 +0000 (UTC)
Cc: Niall Douglas <nialldouglas14@gmail.com>, david.bolvansky@gmail.com, 
	tortoise741@gmail.com
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBDKJJPVBQMKRBGUL3TGQKGQECCAK2EY@isocpp.org Mon Sep 11 23:52:31 2017
Return-path: <std-proposals+bncBDKJJPVBQMKRBGUL3TGQKGQECCAK2EY@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-lf0-f71.google.com ([209.85.215.71])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBDKJJPVBQMKRBGUL3TGQKGQECCAK2EY@isocpp.org>)
	id 1drWcv-0003O3-8u
	for gclcip-std-proposals@m.gmane.org; Mon, 11 Sep 2017 23:52:21 +0200
Original-Received: by mail-lf0-f71.google.com with SMTP id p195sf105429lfd.18
        for <gclcip-std-proposals@m.gmane.org>; Mon, 11 Sep 2017 14:52:28 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1505166748; cv=pass;
        d=google.com; s=arc-20160816;
        b=a5KCKPFYauvVkPglV9jYURS0TjC3vbSnxPmU788WEE2U8tEeMFevwECDV7RIgAltwm
         GVp8WiQXApNoKsLzKkWkEClDc6+MVm493mASUnRoqCpsmUJTs0p9savcR3SUAeodtzwW
         QEiB8miFk/Ea8CSExcGJ/MjurfTbMunCq6Co7cWTTNJlq7NVC2e/gI1GMmAK8cTEGWK8
         tHRzQlBlhA/79LVsCPhJWUFBTgx2YgVXNKnKwTCitLG9lBtyFDqSObPuZjN4ybVsWu/8
         58bLUiJ4oL3b6y8EEv9R/oiiej1oUfSF9OV0oLgC/aHhnv97nFTW5Db680riIuMbmVJD
         l0NQ==
ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
         :list-id:mailing-list:precedence:reply-to:cc:to:subject:message-id
         :date:from:references:in-reply-to:mime-version
         :arc-authentication-results:arc-message-signature:dkim-signature
         :arc-authentication-results;
        bh=aY1VwnxKPCwTP8T+0kybmI0c3f7KjB9CmKmSJ5hxErg=;
        b=ifu3SlE7hZuzEDJVra7uXX6VlYcJenjDg+I8MpMVIq6cc/6XfqgsxgLkDvv4bvJmX0
         qummHSHGG+BsF6beUtojViXAUk71EgTy4TC6vnE3J740luW9oAsGUpRhX+cughLHzst4
         Pm5PvU4fjdlwPPuboz1QG1PqRFIlK4C+t99hHDISM0ZFsOFcDerj0u7TdMcXnj81DZuL
         hzR3tPB8wsNk7CO+I8hJGPs3m8/2ZBrdn8MsyXhXiGXEto3HwkHfrLXeU79F9t7JzoYG
         jISDBAK5/EyRcI4wtS8g2/jXf5FaS15g5lAb5sZqbStijRiQMbdHnbZ8Wcreeu6F9QRq
         g1+Q==
ARC-Authentication-Results: i=2; mx.google.com;
       dkim=pass header.i=@gmail.com header.s=20161025 header.b=BLTKhvg6;
       spf=pass (google.com: domain of hyman.rosen@gmail.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=hyman.rosen@gmail.com;
       dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=mime-version:in-reply-to:references:from:date:message-id:subject:to
         :cc:x-original-sender:x-original-authentication-results:reply-to
         :precedence:mailing-list:list-id:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=aY1VwnxKPCwTP8T+0kybmI0c3f7KjB9CmKmSJ5hxErg=;
        b=b9m0uXQcXOBHk1BHmFw2Jv0KSocwsqZ9Jp2HyTBX9dMVXAfeXUAiXhCmcRiC5TrkNP
         Arvk4mvzLzqOusjrFdEm+R1bv7Ec5qLeSc8AFUBntrbJqvL8+8He0q9cDTKPM7mTn5iu
         0U6ck9IPG7mMJMZxBDo4kWcVfb4RRj6Rvck2kU8lXvOP0jQUmvQ1Ay5s49aGyrgQnTFD
         ylEyYzAiA1+3vpfxFesWXM50DLWUfoILpet35o8XvgBu3Ob+BxrkP5KyQAtp08LJiF9W
         bjvWkdb27dCmSagM7eNMSDOJvH/e8pZ0NWQoYqIKRsSbp5Qcq99nvgLdHzclW/QufZjm
         b3vg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:mime-version:in-reply-to:references:from:date
         :message-id:subject:to:cc:x-original-sender
         :x-original-authentication-results:reply-to:precedence:mailing-list
         :list-id:x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=aY1VwnxKPCwTP8T+0kybmI0c3f7KjB9CmKmSJ5hxErg=;
        b=ncRlcMoS5X6s7Xzh1fIrBJ3uqUKPQpgl5Qbf6FR+EJTcGvwhJvY+fhFFHEERYDMMVT
         EYZZRibWXgetppsH8QbkuvOgaZUCvfoP6kIJFFuyd8jTvliPlPvPjeX8clTHRT837evh
         unQHOsiMs+Jpztjt3ozY+MjhFA8lw6sudxRss45wEd/aI8S5wj/M6Fv3X9PJKC/L5Vp4
         U6VdeSzDmd4G1Gax9hJqeJFhVf5H1sCeqrYqRb21Dpknb3lPMY2zuukbQG//2mgQhZki
         vjtL7VfUkFPwMQBERUkAwLzq/I/EzPma/EHUKJPYQynjK0lHdGc728BcEqgz0RhIYXgg
         Oyfw==
X-Gm-Message-State: AHPjjUhR+BIudeU2CPnQEPsSGS2DHruWb3xpWDeJ6khKLvYpeV5ajEC/
	5NeHJ6dhsSoiRgaq
X-Google-Smtp-Source: ADKCNb5r5QzIADBQcgmUM+8nMn5W140dirwo91pVDG3xaJJWxgQqW4eknxsViVMMVmuq2rwvyJYV/Q==
X-Received: by 10.46.7.26 with SMTP id 26mr920019ljh.5.1505166748627;
        Mon, 11 Sep 2017 14:52:28 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.28.132.74 with SMTP id g71ls3969wmd.1.gmail; Mon, 11 Sep 2017
 14:52:26 -0700 (PDT)
X-Received: by 10.28.183.85 with SMTP id h82mr8829177wmf.24.1505166746665;
        Mon, 11 Sep 2017 14:52:26 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1505166746; cv=none;
        d=google.com; s=arc-20160816;
        b=NUtDID00pKgZgHq5XW3AD4R3IYQ2C4FKpz25ggPAL/Kd8AFN2rVYHcmPnee/6kK67P
         IjXLKWNazxwic7hVQNONOhA7PGf1zGE2+w3WeGgjZhOQtKymu/x9Y/GPgWr8Cm+iRH/Y
         PX5dCMOwPE6shP21M9JjzW1FbG82JTiMltXubplwVbWmJ35kq1H6vV3UjX4XC5T/sQtS
         RZ9h1S1dFNbKdZJ4T5wUHgN7i8XFd3v8wWCfLr4d3MogOTa4kdKU7Wg0ceUJ0EWYKjyL
         CVYZKvZL5YCbOD39ToCqaHyluyWUBdd3tInv5KMlnUfIx5wV5BvGxE73BrrvMpHuDZ0O
         0iug==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=cc:to:subject:message-id:date:from:references:in-reply-to
         :mime-version:dkim-signature:arc-authentication-results;
        bh=aZuYoc9T/AJSDmuTsaLFqvjXgXubc2dvFWLpS3AnJZg=;
        b=bV+kHpLmwew1fy6n7Yaq5S6Je81gqO4e94M3Hj9yLojurUq61QJalnTIP0xvW6N5wN
         9KKRKbTmf3ItEwOuNwU6TIrgTZloTaF9VrukRiZbAOlV91WJabNzKoZU4r9yUdQ7qksD
         hEgp8QuVlay3J+UXKsbyckxWzrIaMExbiWpXUSjK38XRuUARF9mKUSvbP1BYtu0P42no
         ccdlOPWYH/xTa9KCdAqXBbvjYYnDkLqo6GpiEXpSawfasIpCCxqFUxxWM5dz6Xl9z7RW
         hgm4SquJ8b8uyRcVNTJIUOycVwMHPqi2yD8L+RD193iiIdCRj8AOp8KLTw9AxRCHg9XS
         DJ6g==
ARC-Authentication-Results: i=1; mx.google.com;
       dkim=pass header.i=@gmail.com header.s=20161025 header.b=BLTKhvg6;
       spf=pass (google.com: domain of hyman.rosen@gmail.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=hyman.rosen@gmail.com;
       dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com
Original-Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65])
        by mx.google.com with SMTPS id b18sor1656528wmd.49.2017.09.11.14.52.26
        for <std-proposals@isocpp.org>
        (Google Transport Security);
        Mon, 11 Sep 2017 14:52:26 -0700 (PDT)
Received-SPF: pass (google.com: domain of hyman.rosen@gmail.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65;
X-Received: by 10.28.54.206 with SMTP id y75mr9209181wmh.53.1505166745676;
 Mon, 11 Sep 2017 14:52:25 -0700 (PDT)
Original-Received: by 10.28.8.130 with HTTP; Mon, 11 Sep 2017 14:52:04 -0700 (PDT)
In-Reply-To: <edffb219-8034-2935-20d0-ffc225b52d20@gmail.com>
X-Original-Sender: hyman.rosen@gmail.com
X-Original-Authentication-Results: mx.google.com;       dkim=pass
 header.i=@gmail.com header.s=20161025 header.b=BLTKhvg6;       spf=pass
 (google.com: domain of hyman.rosen@gmail.com designates 209.85.220.65 as
 permitted sender) smtp.mailfrom=hyman.rosen@gmail.com;       dmarc=pass
 (p=NONE sp=NONE dis=NONE) header.from=gmail.com
Precedence: list
Mailing-list: list std-proposals@isocpp.org; contact std-proposals+owners@isocpp.org
List-ID: <std-proposals.isocpp.org>
X-Google-Group-Id: 399137483710
List-Post: <https://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <https://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <https://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:std-proposals+subscribe@isocpp.org>
List-Unsubscribe: <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>,
 <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:34371

--001a11435ed8342e5b0558f0f13b
Content-Type: text/plain; charset="UTF-8"

In Unix, the various flavors of getpwnam and getpwuid
<https://linux.die.net/man/3/getpwnam> return a pointer to a struct passwd
 whose pw_dir field is the user's home directory.  In Windows, the
GetUserProfileDirectory
<https://msdn.microsoft.com/en-us/library/windows/desktop/bb762280(v=vs.85).aspx>
function is (at least a close approximation to) the user's home directory.
So on those systems (which are the vast majority of all systems that have
filesystems and users) there is a concept of home directory without
reference to environment variables.

-- 
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
To view this discussion on the web visit https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/CAHSYqdbqM6F2AC5Lxi64DmiEXqyqhQiQOm4-_5%3DGzYzyKTeneQ%40mail.gmail.com.

--001a11435ed8342e5b0558f0f13b
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra">In Unix, the various flavors of=
 <a href=3D"https://linux.die.net/man/3/getpwnam"><font face=3D"monospace, =
monospace">getpwnam</font> and <font face=3D"monospace, monospace">getpwuid=
</font></a> return a pointer to a=C2=A0<font face=3D"monospace, monospace">=
struct passwd</font>=C2=A0whose=C2=A0<font face=3D"monospace, monospace">pw=
_dir</font> field is the user&#39;s home directory.=C2=A0 In Windows, the=
=C2=A0<a href=3D"https://msdn.microsoft.com/en-us/library/windows/desktop/b=
b762280(v=3Dvs.85).aspx">GetUserProfileDirectory</a> function is (at least =
a close approximation to) the user&#39;s home directory.=C2=A0 So on those =
systems (which are the vast majority of all systems that have filesystems a=
nd users) there is a concept of home directory without reference to environ=
ment variables.<br></div></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:std-proposals+unsubscribe@isocpp.org">std-proposa=
ls+unsubscribe@isocpp.org</a>.<br />
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org">std-proposals@isocpp.org</a>.<br />
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/a/isocpp.org/d/msgid/std-proposals/CAHSYqdbqM6F2AC5Lxi64DmiEXqyqhQiQOm4-=
_5%3DGzYzyKTeneQ%40mail.gmail.com?utm_medium=3Demail&utm_source=3Dfooter">h=
ttps://groups.google.com/a/isocpp.org/d/msgid/std-proposals/CAHSYqdbqM6F2AC=
5Lxi64DmiEXqyqhQiQOm4-_5%3DGzYzyKTeneQ%40mail.gmail.com</a>.<br />

--001a11435ed8342e5b0558f0f13b--

.
