dysize - get number of days for a given year


   #include <time.h>

   int dysize(int year);

   Feature Test Macro Requirements for glibc (see feature_test_macros(7)):

       Since glibc 2.19:
       Glibc 2.19 and earlier:
           _BSD_SOURCE || _SVID_SOURCE


   The  function  returns  365  for a normal year and 366 for a leap year.
   The calculation for leap year is based on:

   (year) %4 == 0 && ((year) %100 != 0 || (year) %400 == 0)

   The formula is defined  in  the  macro  __isleap(year)  also  found  in


   For   an   explanation   of   the  terms  used  in  this  section,  see

   Interface  Attribute      Value   
   dysize()   Thread safety  MT-Safe 


   This function occurs in SunOS 4.x.


   This is a compatibility function only.  Don't use it in new programs.




   This page is part of release 4.09 of the Linux  man-pages  project.   A
   description  of  the project, information about reporting bugs, and the
   latest    version    of    this    page,    can     be     found     at

More Linux Commands

glMultMatrixd(3gl) - multiply the current matrix with the sp
glMultMatrix multiplies the current matrix with the one specified using m, and replaces the current matrix with the product. The current matrix is determined by

menu_opts(3menu) - set and get menu item options (Man Page)
The function set_item_opts sets all the given items option bits (menu option bits may be logically-ORed together). The function item_opts_on turns on the given

snprint_description(3) - netsnmp_mib_api functions (ManPage)
The functions dealing with MIB modules fall into four groups - those dealing with initialisation and shutdown, with reading in and parsing MIB files, with searc

git-credential(1) Retrieve and store user credentials.......
Git has an internal interface for storing and retrieving credentials from system-specific helpers, as well as prompting the user for usernames and passwords. Th

glutEnterGameMode(3) - enters and leaves GLUT's game mode.
glutEnterGameMode is designed to enable high-performance fullscreen GLUT rendering, possibly at a different screen display format. Calling glutEnterGameMode cre

rsyncd.conf(5) - configuration file for rsync in daemon mode
The rsyncd.conf file is the runtime configuration file for rsync when run as an rsync daemon. The rsyncd.conf file controls authentication, access, logging and

glFlush(3gl) - force execution of GL commands in finite time
Different GL implementations buffer commands in several different locations, including network buffers and the graphics accelerator itself. glFlush empties all

ioprio_set(2) - get/set I/O scheduling class and priority...
The ioprio_get() and ioprio_set() system calls respectively get and set the I/O scheduling class and priority of one or more threads. The which and who argument

linkat(2) - create a file link relative to directory file de
link() creates a new link (also known as a hard link) to an existing file. If newpath exists, it will not be overwritten. This new name may be used exactly as t

XAutoRepeatOn(3) - manipulate keyboard settings and keyboard
The XChangeKeyboardControl function controls the keyboard characteristics defined by the XKeyboardControl structure. The value_mask argument specifies which val

sin(3) - sine function (Library - Linux man page)...........
The sin() function returns the sine of x, where x is given in radians. RETURN VALUE On success, these functions return the sine of x. If x is a NaN, a NaN is re

pcre_config(3) - Perl-compatible regular expressions........
This function makes it possible for a client program to find out which optional features are available in the version of the PCRE library it is using. The argum

We can't live, work or learn in freedom unless the software we use is free.