| length | The length in seconds.nanoseconds for the new template. |
| template | template A pointer to a location to store the template identif- ier. |
| KERN_SUCCESS | A new periodic timeline template has been created |
| KERN_INVALID_ARGUMENT | template is invalid. |
| KERN_INVALID_VALUE | contains an invalid time specification. |
| KERN_FAILURE | There is not enough memory to create the template. |