meaning of 百日のつもり


I am reading a book and found this paragraph that I don't understand
小生の命も後百日のつもりその間身のすりきれるほど働くつもり I am getting that he intends to live what is
left of his life working until his last breath. I am not sure what 百日のつもり
means. I have searched and found that 百日 means lots of days is that correct or
there is an old meaning for this word?




It consists of two sentences (where copula is omitted in both)

> 小生の命も後百日のつもり
>
> その間身のすりきれるほど働くつもり

In the first, 小生の命 is the subject to 後{あと}百日{ひゃくにち}. It literally means _(The
rest of) my life is (only) another hundred days_. Since it is appended by
のつもり, the speaker says s/he would pretend as if her/his life would end in 100
days.

