home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.linux.slackware      I think its the one without Selinux crap      87,272 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 86,864 of 87,272   
   Rich to root   
   Re: strptime()   
   06 Dec 24 18:02:04   
   
   From: rich@example.invalid   
      
   root  wrote:   
   > Giovanni  wrote:   
   >> On 12/5/24 18:30, root wrote:   
   >>> I asked Gemini to give me a c program to convert date format to epoch   
   >>> time and conversely. It provided a program that uses strptime()   
   >>> which gcc on Slackware 15.0 does not recognize. My version   
   >>> of gcc is gcc version 11.2.0 (GCC). I don't have an installation   
   >>> with current so I can't check if a later version of gcc will   
   >>> work. Anyone here use strptime?   
   >>> Thanks.   
   >>   
   >> I never used it but but I see that is included in the standard library.   
   >>   Did you try "man strptime"?   
   >>   
   >> Ciao   
   >> Giovanni   
   >   
   > I never thought to do man strptime. Right at the top   
   > it gives the XOPEN thing. I was trying various   
   > lib things.   
      
   When encountering something on a Linux machine (esp.  a library   
   function) for which you are unfamiliar, your very first thought should   
   *always* be: "lets check for a man page".   
      
   --- SoupGate-DOS v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca