techPowerUp! Forums

Go Back   techPowerUp! Forums > Software > Linux / BSD / Mac OS X

Reply
 
Thread Tools
Old 12-05-2006, 09:27 AM     #1
drimades
5 Posts
 
Join Date: Oct 2006
Posts: 10 (0.01/day)
Thanks: 0
Thanked 0 Times in 0 Posts

Implementing "date" in C

This is part of the "date.c" program:
...

out[0] = '\1';

if (rfc_format)
setlocale (LC_ALL, "C");

done = (nstrftime (out, out_length, format, tm, 0, when.tv_nsec) || out[0] == '\0');

...

How is defined nstrftime() and how it works in this case?
drimades is offline  
Reply With Quote
Old 12-08-2006, 11:24 PM     #2
strick94u
1000 Posts
 
strick94u's Avatar
 
Join Date: May 2006
Location: Texas
Posts: 1,291 (1.01/day)
Thanks: 79
Thanked 69 Times in 62 Posts

System Specs

I would just ask some nice girl out on a date if I were you
strick94u is offline  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 01:54 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
no new posts