<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Getuid function in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/getuid-function/m-p/2720128#M62881</link>
    <description>I am writing a small c code. &lt;BR /&gt;Is there a function which gives the username directly instead of uid ? &lt;BR /&gt;&lt;BR /&gt;Thanks</description>
    <pubDate>Wed, 08 May 2002 23:58:40 GMT</pubDate>
    <dc:creator>Krishnan Viswanathan</dc:creator>
    <dc:date>2002-05-08T23:58:40Z</dc:date>
    <item>
      <title>Getuid function</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getuid-function/m-p/2720128#M62881</link>
      <description>I am writing a small c code. &lt;BR /&gt;Is there a function which gives the username directly instead of uid ? &lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Wed, 08 May 2002 23:58:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getuid-function/m-p/2720128#M62881</guid>
      <dc:creator>Krishnan Viswanathan</dc:creator>
      <dc:date>2002-05-08T23:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: Getuid function</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getuid-function/m-p/2720129#M62882</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;You can use the getlogin function, although the proper procedure is to call getlogin(); if that returns a NULL then you should call getpwuid(getuid()) to return a pointer to a passwd struct.&lt;BR /&gt;&lt;BR /&gt;Man 3 getlogin, getpwuid for details.&lt;BR /&gt;&lt;BR /&gt;Regards, Clay</description>
      <pubDate>Thu, 09 May 2002 00:12:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getuid-function/m-p/2720129#M62882</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-05-09T00:12:55Z</dc:date>
    </item>
  </channel>
</rss>

